Skip to content

Commit e428a45

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.6-beta.1
1 parent f895fc9 commit e428a45

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,7 @@ static bool isSignedCharDefault(const llvm::Triple &Triple) {
13471347
case llvm::Triple::riscv64:
13481348
case llvm::Triple::systemz:
13491349
case llvm::Triple::xcore:
1350+
case llvm::Triple::xtensa:
13501351
return false;
13511352
}
13521353
}

clang/test/Driver/xtensa-char.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/// Check that char is unsigned by default.
2+
// RUN: %clang -### %s --target=xtensa -c 2>&1 | FileCheck %s
3+
// CHECK: "-cc1" "-triple" "xtensa"
4+
// CHECK-SAME: "-fno-signed-char"

0 commit comments

Comments
 (0)