diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-02-20 12:13:05 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2011-02-20 12:13:05 +0000 |
| commit | 7ee0d5664e4a9259ddf5b98d509f9333df7c3ef7 (patch) | |
| tree | 40003c9b55eed5413e39fd039abd872cdbfa4b12 /clang/lib | |
| parent | c8a1569950128cbaf9264f37210be4cdea5f4bd8 (diff) | |
| download | bcm5719-llvm-7ee0d5664e4a9259ddf5b98d509f9333df7c3ef7.tar.gz bcm5719-llvm-7ee0d5664e4a9259ddf5b98d509f9333df7c3ef7.zip | |
Turn on __has_feature(cxx_auto_type). The feature is now fully implemented.
llvm-svn: 126078
Diffstat (limited to 'clang/lib')
| -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 cc294ee2665..ba926149103 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -553,7 +553,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("ownership_takes", true) // C++0x features .Case("cxx_attributes", LangOpts.CPlusPlus0x) - //.Case("cxx_auto_type", false) + .Case("cxx_auto_type", LangOpts.CPlusPlus0x) .Case("cxx_decltype", LangOpts.CPlusPlus0x) .Case("cxx_default_function_template_args", LangOpts.CPlusPlus0x) .Case("cxx_deleted_functions", LangOpts.CPlusPlus0x) |

