We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9a20f7 commit d204724Copy full SHA for d204724
clang/lib/Driver/ToolChains/Clang.cpp
@@ -1387,6 +1387,7 @@ static bool isSignedCharDefault(const llvm::Triple &Triple) {
1387
return true;
1388
return false;
1389
1390
+ case llvm::Triple::csky:
1391
case llvm::Triple::hexagon:
1392
case llvm::Triple::msp430:
1393
case llvm::Triple::ppcle:
clang/test/Driver/csky-toolchain.c
@@ -3,6 +3,7 @@
3
4
// RUN: %clang -### %s --target=csky 2>&1 | FileCheck -check-prefix=CC1 %s
5
// CC1: "-cc1" "-triple" "csky"
6
+// CC1: "-fno-signed-char"
7
8
// In the below tests, --rtlib=platform is used so that the driver ignores
9
// the configure-time CLANG_DEFAULT_RTLIB option when choosing the runtime lib
0 commit comments