forked from OSchip/llvm-project
Don't emit double parentheses in __clang_version__.
PR14040. llvm-svn: 165415
This commit is contained in:
parent
8c059026c0
commit
bdd74bfb9f
|
@ -325,8 +325,8 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
|||
Builder.defineMacro("__clang_patchlevel__", "0");
|
||||
#endif
|
||||
Builder.defineMacro("__clang_version__",
|
||||
"\"" CLANG_VERSION_STRING " ("
|
||||
+ getClangFullRepositoryVersion() + ")\"");
|
||||
"\"" CLANG_VERSION_STRING " "
|
||||
+ getClangFullRepositoryVersion() + "\"");
|
||||
#undef TOSTR
|
||||
#undef TOSTR2
|
||||
if (!LangOpts.MicrosoftMode) {
|
||||
|
|
Loading…
Reference in New Issue