Skip to content

Commit b18dff3

Browse files
Add riscv64 to _pointerBitWidth platform condition (swiftlang#66034)
1 parent 580d501 commit b18dff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Basic/LangOptions.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ std::pair<bool, bool> LangOptions::setTarget(llvm::Triple triple) {
429429
case llvm::Triple::ArchType::ppc64le:
430430
case llvm::Triple::ArchType::x86_64:
431431
case llvm::Triple::ArchType::systemz:
432+
case llvm::Triple::ArchType::riscv64:
432433
addPlatformConditionValue(PlatformConditionKind::PointerBitWidth, "_64");
433434
break;
434435
}

0 commit comments

Comments
 (0)