Changes in src/AST/FunctionSpec.hpp [7f3f63c:a300e4a]
- File:
-
- 1 edited
-
src/AST/FunctionSpec.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/FunctionSpec.hpp
r7f3f63c ra300e4a 31 31 32 32 /// Bitflag type for storage classes 33 struct spec_flags { 34 union { 35 unsigned int val; 36 struct { 37 bool is_inline : 1; 38 bool is_noreturn : 1; 39 bool is_fortran : 1; 40 }; 41 42 // MakeBitfieldPrint( NumSpecs ) 33 union Specs { 34 unsigned int val; 35 struct { 36 bool is_inline : 1; 37 bool is_noreturn : 1; 38 bool is_fortran : 1; 43 39 }; 44 40 45 constexpr spec_flags( unsigned int val ) : val(val) {} 41 MakeBitfield( Specs ) 42 MakeBitfieldPrint( NumSpecs ) 46 43 }; 47 44 48 using Specs = bitfield<spec_flags>;49 45 } 50 46 }
Note:
See TracChangeset
for help on using the changeset viewer.