diff options
Diffstat (limited to 'gcc/c-family/c-common.h')
-rw-r--r-- | gcc/c-family/c-common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/c-family/c-common.h b/gcc/c-family/c-common.h index ff74e53..d1f6cba 100644 --- a/gcc/c-family/c-common.h +++ b/gcc/c-family/c-common.h @@ -142,6 +142,7 @@ enum rid RID_IS_EMPTY, RID_IS_ENUM, RID_IS_FINAL, RID_IS_LITERAL_TYPE, RID_IS_POD, RID_IS_POLYMORPHIC, + RID_IS_SAME_AS, RID_IS_STD_LAYOUT, RID_IS_TRIVIAL, RID_IS_TRIVIALLY_ASSIGNABLE, RID_IS_TRIVIALLY_CONSTRUCTIBLE, RID_IS_TRIVIALLY_COPYABLE, @@ -150,6 +151,9 @@ enum rid /* C++11 */ RID_CONSTEXPR, RID_DECLTYPE, RID_NOEXCEPT, RID_NULLPTR, RID_STATIC_ASSERT, + /* C++ concepts */ + RID_CONCEPT, RID_REQUIRES, + /* Cilk Plus keywords. */ RID_CILK_SPAWN, RID_CILK_SYNC, RID_CILK_FOR, @@ -386,6 +390,9 @@ extern machine_mode c_default_pointer_mode; #define D_OBJC 0x080 /* In Objective C and neither C nor C++. */ #define D_CXX_OBJC 0x100 /* In Objective C, and C++, but not C. */ #define D_CXXWARN 0x200 /* In C warn with -Wcxx-compat. */ +#define D_CXX_CONCEPTS 0x400 /* In C++, only with concepts. */ + +#define D_CXX_CONCEPTS_FLAGS D_CXXONLY | D_CXX_CONCEPTS /* The reserved keyword table. */ extern const struct c_common_resword c_common_reswords[]; |