projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d7ade
)
Remove obsolete comment missed by r162937
author
Andy Gibbs
<andyg1001@hotmail.co.uk>
Wed, 28 Nov 2012 08:14:36 +0000
(08:14 +0000)
committer
Andy Gibbs
<andyg1001@hotmail.co.uk>
Wed, 28 Nov 2012 08:14:36 +0000
(08:14 +0000)
llvm-svn: 168778
clang/lib/Lex/PPMacroExpansion.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Lex/PPMacroExpansion.cpp
b/clang/lib/Lex/PPMacroExpansion.cpp
index
c5948e6
..
e007173
100644
(file)
--- a/
clang/lib/Lex/PPMacroExpansion.cpp
+++ b/
clang/lib/Lex/PPMacroExpansion.cpp
@@
-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)