[cfe-commits] r168778 - /cfe/trunk/lib/Lex/PPMacroExpansion.cpp

Andy Gibbs andyg1001 at hotmail.co.uk
Wed Nov 28 00:14:36 PST 2012


Author: andyg
Date: Wed Nov 28 02:14:36 2012
New Revision: 168778

URL: http://llvm.org/viewvc/llvm-project?rev=168778&view=rev
Log:
Remove obsolete comment missed by r162937

Modified:
    cfe/trunk/lib/Lex/PPMacroExpansion.cpp

Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=168778&r1=168777&r2=168778&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original)
+++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Wed Nov 28 02:14:36 2012
@@ -845,10 +845,6 @@
            .Case("is_base_of", LangOpts.CPlusPlus)
            .Case("is_class", LangOpts.CPlusPlus)
            .Case("is_convertible_to", LangOpts.CPlusPlus)
-            // __is_empty is available only if the horrible
-            // "struct __is_empty" parsing hack hasn't been needed in this
-            // translation unit. If it has, __is_empty reverts to a normal
-            // identifier and __has_feature(is_empty) evaluates false.
            .Case("is_empty", LangOpts.CPlusPlus)
            .Case("is_enum", LangOpts.CPlusPlus)
            .Case("is_final", LangOpts.CPlusPlus)





More information about the cfe-commits mailing list