diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-14 22:56:17 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-14 22:56:17 +0000 |
commit | 1cb2af0b3a84ed6ca384970357a8094745865d9c (patch) | |
tree | 46714286bfc69c833d3d51a22efd2c5e76b5cd64 /clang/lib/Lex | |
parent | a7b443a6bf91bbb48941ae42e90a047a0bb61141 (diff) | |
download | bcm5719-llvm-1cb2af0b3a84ed6ca384970357a8094745865d9c.tar.gz bcm5719-llvm-1cb2af0b3a84ed6ca384970357a8094745865d9c.zip |
Advertize support for constexpr.
llvm-svn: 150524
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 3fe3ab3b195..a285c30d5cf 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -638,7 +638,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("cxx_atomic", LangOpts.CPlusPlus0x) .Case("cxx_attributes", LangOpts.CPlusPlus0x) .Case("cxx_auto_type", LangOpts.CPlusPlus0x) - //.Case("cxx_constexpr", false); + .Case("cxx_constexpr", LangOpts.CPlusPlus0x) .Case("cxx_decltype", LangOpts.CPlusPlus0x) .Case("cxx_default_function_template_args", LangOpts.CPlusPlus0x) .Case("cxx_defaulted_functions", LangOpts.CPlusPlus0x) |