diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp')
| -rw-r--r-- | contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp b/contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp index 2c7e3a56c043..8a0ff55e44fc 100644 --- a/contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp +++ b/contrib/llvm-project/clang/lib/Frontend/InitPreprocessor.cpp @@ -548,7 +548,7 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,    // C++20 features.    if (LangOpts.CPlusPlus2a) {      //Builder.defineMacro("__cpp_aggregate_paren_init", "201902L"); -    //Builder.defineMacro("__cpp_concepts", "201907L"); +    Builder.defineMacro("__cpp_concepts", "201907L");      Builder.defineMacro("__cpp_conditional_explicit", "201806L");      //Builder.defineMacro("__cpp_consteval", "201811L");      Builder.defineMacro("__cpp_constexpr_dynamic_alloc", "201907L"); @@ -564,8 +564,6 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,    Builder.defineMacro("__cpp_impl_destroying_delete", "201806L");    // TS features. -  if (LangOpts.ConceptsTS) -    Builder.defineMacro("__cpp_experimental_concepts", "1L");    if (LangOpts.Coroutines)      Builder.defineMacro("__cpp_coroutines", "201703L");  } | 
