diff options
| author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-09-04 18:14:28 +0000 |
|---|---|---|
| committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2011-09-04 18:14:28 +0000 |
| commit | e9c4e84f8ea7a8245b1cbb44e158cf0b8d29eb28 (patch) | |
| tree | ff41d2a78044b2de8fc64426eb322c1e13eb5d3f /clang/lib/Lex | |
| parent | c92151516f4630a2cabcb9b8e5edbd565e16a219 (diff) | |
| download | bcm5719-llvm-e9c4e84f8ea7a8245b1cbb44e158cf0b8d29eb28.tar.gz bcm5719-llvm-e9c4e84f8ea7a8245b1cbb44e158cf0b8d29eb28.zip | |
Add test case for defaulted copy and move structure validation.
Fix bug this uncovered.
Address minor comments from Doug.
Enable cxx_implicit_moves feature.
llvm-svn: 139101
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 8bc1351f6e6..d0828d0d5d5 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -619,7 +619,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("cxx_deleted_functions", LangOpts.CPlusPlus0x) .Case("cxx_explicit_conversions", LangOpts.CPlusPlus0x) //.Case("cxx_generalized_initializers", LangOpts.CPlusPlus0x) - //.Case("cxx_implicit_moves", false) + .Case("cxx_implicit_moves", LangOpts.CPlusPlus0x) //.Case("cxx_inheriting_constructors", false) .Case("cxx_inline_namespaces", LangOpts.CPlusPlus0x) //.Case("cxx_lambdas", false) |

