]> granicus.if.org Git - clang/commitdiff
Remove obsolete comment missed by r162937
authorAndy Gibbs <andyg1001@hotmail.co.uk>
Wed, 28 Nov 2012 08:14:36 +0000 (08:14 +0000)
committerAndy Gibbs <andyg1001@hotmail.co.uk>
Wed, 28 Nov 2012 08:14:36 +0000 (08:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168778 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPMacroExpansion.cpp

index c5948e69ecce3c02d801eef65858825f07cbc7cb..e00717353d7e9f89b8cb4a373aee1eda39bba858 100644 (file)
@@ -845,10 +845,6 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
            .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)