summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/PPMacroExpansion.cpp
diff options
context:
space:
mode:
authorAlexis Hunt <alercah@gmail.com>2011-07-18 17:08:00 +0000
committerAlexis Hunt <alercah@gmail.com>2011-07-18 17:08:00 +0000
commitc6d1d946e7ac9299561f10318066aa9a0eb7837c (patch)
tree041c69d962bbb9e145dc351565cc5963629c0359 /clang/lib/Lex/PPMacroExpansion.cpp
parentf3ff9715617a8fe38ad2a9dc0afed68809ca26b7 (diff)
downloadbcm5719-llvm-c6d1d946e7ac9299561f10318066aa9a0eb7837c.tar.gz
bcm5719-llvm-c6d1d946e7ac9299561f10318066aa9a0eb7837c.zip
Remember to add a has_feature macro for __underlying_type now that it is
correctly impelmented llvm-svn: 135401
Diffstat (limited to 'clang/lib/Lex/PPMacroExpansion.cpp')
-rw-r--r--clang/lib/Lex/PPMacroExpansion.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp
index ecd4d4cfc68..e8658255e40 100644
--- a/clang/lib/Lex/PPMacroExpansion.cpp
+++ b/clang/lib/Lex/PPMacroExpansion.cpp
@@ -649,6 +649,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
.Case("is_trivially_copyable", LangOpts.CPlusPlus)
.Case("is_union", LangOpts.CPlusPlus)
.Case("tls", PP.getTargetInfo().isTLSSupported())
+ .Case("underlying_type", LangOpts.CPlusPlus)
.Default(false);
}
OpenPOWER on IntegriCloud