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 | 738291eedac0f3f3628e34b0b32d6155f280fab2 (patch) | |
| tree | cf1cc7a09ce30685b1fbfde84c6d5081fd636f67 /lib/Lex/PPMacroExpansion.cpp | |
| parent | 6a9505a1d815c27df56a863341f577e01a81a9ba (diff) | |
Turn on __has_feature(cxx_auto_type). The feature is now fully implemented.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PPMacroExpansion.cpp')
| -rw-r--r-- | lib/Lex/PPMacroExpansion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp index cc294ee266..ba92614910 100644 --- a/lib/Lex/PPMacroExpansion.cpp +++ b/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) |
