Skip to content

Commit 1a58252

Browse files
Carl PetoCarl Peto
authored andcommitted
move this change to PR 74693
1 parent 19e8aae commit 1a58252

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,15 +573,11 @@ std::pair<bool, bool> LangOptions::setTarget(llvm::Triple triple) {
573573
}
574574

575575
// Set the "_pointerBitWidth" platform condition.
576-
if (Target.getArch()==llvm::Triple::ArchType::avr) {
577-
addPlatformConditionValue(PlatformConditionKind::PointerBitWidth, "_16");
578-
} else {
579576
if (Target.isArch32Bit()) {
580577
addPlatformConditionValue(PlatformConditionKind::PointerBitWidth, "_32");
581578
} else if (Target.isArch64Bit()) {
582579
addPlatformConditionValue(PlatformConditionKind::PointerBitWidth, "_64");
583580
}
584-
}
585581

586582
// Set the "runtime" platform condition.
587583
addPlatformConditionValue(PlatformConditionKind::Runtime,

0 commit comments

Comments
 (0)