forked from OSchip/llvm-project
As discussed with SG10, bump version of __cpp_deduction_guides macro to indicate support for P0620R0.
llvm-svn: 333587
This commit is contained in:
parent
159bd7444e
commit
5105573041
|
@ -540,7 +540,7 @@ static void InitializeCPlusPlusFeatureTestMacros(const LangOptions &LangOpts,
|
|||
Builder.defineMacro("__cpp_noexcept_function_type", "201510");
|
||||
Builder.defineMacro("__cpp_capture_star_this", "201603");
|
||||
Builder.defineMacro("__cpp_if_constexpr", "201606");
|
||||
Builder.defineMacro("__cpp_deduction_guides", "201611");
|
||||
Builder.defineMacro("__cpp_deduction_guides", "201703");
|
||||
Builder.defineMacro("__cpp_template_auto", "201606");
|
||||
Builder.defineMacro("__cpp_namespace_attributes", "201411");
|
||||
Builder.defineMacro("__cpp_enumerator_attributes", "201411");
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
// static_assert checked below
|
||||
|
||||
#if check(deduction_guides, 0, 0, 0, 201611)
|
||||
#if check(deduction_guides, 0, 0, 0, 201703)
|
||||
#error "wrong value for __cpp_deduction_guides"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue