-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:
Reid Kleckner
2014-04-07 19:27:58 +00:00
parent b2213910de
commit 0dc06b9a3d
2 changed files with 1 additions and 4 deletions

View File

@@ -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");