Changeset 8b7ee09 for src/Parser/LinkageSpec.h
- Timestamp:
- Aug 19, 2016, 8:57:22 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- ac71a86, e6955b1
- Parents:
- f487962
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/LinkageSpec.h
rf487962 r8b7ee09 10 10 // Created On : Sat May 16 13:24:28 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Aug 17 22:19:48201613 // Update Count : 612 // Last Modified On : Thu Aug 18 23:47:16 2016 13 // Update Count : 7 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 … … 26 26 AutoGen, // built by translator (struct assignment) 27 27 Compiler, // gcc internal 28 NoOf Types28 NoOfSpecs 29 29 }; 30 30 31 static TypefromString( const std::string & );32 static std::string toString( Type);31 static Spec fromString( const std::string & ); 32 static std::string toString( Spec ); 33 33 34 static bool isDecoratable( Type);35 static bool isGeneratable( Type);36 static bool isOverloadable( Type);37 static bool isOverridable( Type);38 static bool isBuiltin( Type);34 static bool isDecoratable( Spec ); 35 static bool isGeneratable( Spec ); 36 static bool isOverloadable( Spec ); 37 static bool isOverridable( Spec ); 38 static bool isBuiltin( Spec ); 39 39 }; 40 40
Note: See TracChangeset
for help on using the changeset viewer.