зеркало из https://github.com/microsoft/clang-1.git
-funsigned-char sets __CHAR_UNSIGNED__
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63942 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
4ce205f94c
Коммит
f668a714b1
|
@ -572,6 +572,9 @@ static void InitializePredefinedMacros(Preprocessor &PP,
|
|||
DefineBuiltinMacro(Buf, MacroBuf);
|
||||
}
|
||||
|
||||
if (!TI.isCharSigned())
|
||||
DefineBuiltinMacro(Buf, "__CHAR_UNSIGNED__");
|
||||
|
||||
// Build configuration options. FIXME: these should be controlled by
|
||||
// command line options or something.
|
||||
DefineBuiltinMacro(Buf, "__DYNAMIC__=1");
|
||||
|
|
Загрузка…
Ссылка в новой задаче