Changeset 13073be for src/Parser
- Timestamp:
- May 25, 2018, 1:37:34 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
- Children:
- 8dbedfc
- Parents:
- a1a17a74
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/LinkageSpec.h
ra1a17a74 r13073be 27 27 Overrideable = 1 << 2, 28 28 Builtin = 1 << 3, 29 GccBuiltin = 1 << 4, 29 30 30 NoOfSpecs = 1 << 4,31 NoOfSpecs = 1 << 5, 31 32 }; 32 33 … … 38 39 bool is_overridable : 1; 39 40 bool is_builtin : 1; 41 bool is_gcc_builtin : 1; 40 42 }; 41 43 constexpr Spec( unsigned int val ) : val( val ) {} … … 61 63 inline bool isOverridable( Spec spec ) { return spec.is_overridable; } 62 64 inline bool isBuiltin( Spec spec ) { return spec.is_builtin; } 65 inline bool isGccBuiltin( Spec spec ) { return spec.is_gcc_builtin; } 63 66 64 67 // Pre-defined flag combinations: … … 72 75 constexpr Spec const AutoGen = { Mangle | Generate | Overrideable }; 73 76 // gcc internal 74 constexpr Spec const Compiler = { Builtin };77 constexpr Spec const Compiler = { Mangle | Builtin | GccBuiltin }; 75 78 // mangled builtins 76 79 constexpr Spec const BuiltinCFA = { Mangle | Generate | Builtin };
Note: See TracChangeset
for help on using the changeset viewer.