зеркало из https://github.com/microsoft/clang-1.git
Tell the VS headers that char16_t and char32_t are keywords, so yvals.h doesn't try to define them as typedefs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113126 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
96de25986d
Коммит
343d65c073
|
@ -342,6 +342,10 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
|||
Builder.defineMacro("_NATIVE_WCHAR_T_DEFINED");
|
||||
Builder.append("class type_info;");
|
||||
}
|
||||
|
||||
if (LangOpts.CPlusPlus0x) {
|
||||
Builder.defineMacro("_HAS_CHAR16_T_LANGUAGE_SUPPORT", "1");
|
||||
}
|
||||
}
|
||||
|
||||
if (LangOpts.Optimize)
|
||||
|
|
Загрузка…
Ссылка в новой задаче