-fms-extensions: Don't define __PRETTY_FUNCTION__ to __FUNCTION__
This reverts r90596 from 2009. Having this macro definition makes Clang strictly less useful with -fms-extensions. llvm-svn: 205729
This commit is contained in:
@@ -508,10 +508,6 @@ static void InitializePredefinedMacros(const TargetInfo &TI,
|
||||
}
|
||||
|
||||
if (LangOpts.MicrosoftExt) {
|
||||
// Both __PRETTY_FUNCTION__ and __FUNCTION__ are GCC extensions, however
|
||||
// VC++ appears to only like __FUNCTION__.
|
||||
Builder.defineMacro("__PRETTY_FUNCTION__", "__FUNCTION__");
|
||||
// Work around some issues with Visual C++ headers.
|
||||
if (LangOpts.WChar) {
|
||||
// wchar_t supported as a keyword.
|
||||
Builder.defineMacro("_WCHAR_T_DEFINED");
|
||||
|
||||
Reference in New Issue
Block a user