diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-04-07 19:27:58 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-04-07 19:27:58 +0000 |
| commit | 8b06c531013555075e4307b8d9bec739d5dc751d (patch) | |
| tree | e36298d82f6e3c27e3b4dadc2bdbb531bd4bc735 /lib/Frontend/InitPreprocessor.cpp | |
| parent | 745d3c96e8dce9fa2bd6361fa71ef39592680ed1 (diff) | |
| download | clang-8b06c531013555075e4307b8d9bec739d5dc751d.tar.gz clang-8b06c531013555075e4307b8d9bec739d5dc751d.tar.bz2 clang-8b06c531013555075e4307b8d9bec739d5dc751d.tar.xz | |
-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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/InitPreprocessor.cpp')
| -rw-r--r-- | lib/Frontend/InitPreprocessor.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/Frontend/InitPreprocessor.cpp b/lib/Frontend/InitPreprocessor.cpp index 761dba427e..a86fe51426 100644 --- a/lib/Frontend/InitPreprocessor.cpp +++ b/lib/Frontend/InitPreprocessor.cpp @@ -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"); |
