Changes in src/Parser/LinkageSpec.h [4aa0858:ab57786]
- File:
-
- 1 edited
-
src/Parser/LinkageSpec.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/LinkageSpec.h
r4aa0858 rab57786 9 9 // Author : Rodolfo G. Esteves 10 10 // Created On : Sat May 16 13:24:28 2015 11 // Last Modified By : Rob Schluntz12 // Last Modified On : Tue Aug 18 14:11:55 201513 // Update Count : 511 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 20 19:22:23 2016 13 // Update Count : 8 14 14 // 15 15 … … 20 20 21 21 struct LinkageSpec { 22 enum Type{22 enum Spec { 23 23 Intrinsic, // C built-in defined in prelude 24 24 Cforall, // ordinary 25 25 C, // not overloadable, not mangled 26 26 AutoGen, // built by translator (struct assignment) 27 Compiler // gcc internal 27 Compiler, // gcc internal 28 NoOfSpecs 28 29 }; 29 30 30 static TypefromString( const std::string & );31 static std::string toString( Type);31 static Spec fromString( const std::string & ); 32 static std::string toString( Spec ); 32 33 33 static bool isDecoratable( Type ); 34 static bool isGeneratable( Type ); 35 static bool isOverloadable( Type ); 36 static bool isOverridable( Type ); 37 static bool isBuiltin( Type ); 34 static bool isDecoratable( Spec ); 35 static bool isGeneratable( Spec ); 36 static bool isOverridable( Spec ); 37 static bool isBuiltin( Spec ); 38 38 }; 39 39
Note:
See TracChangeset
for help on using the changeset viewer.