Changeset de62360d for src/SynTree/Declaration.h
- Timestamp:
- Jun 24, 2015, 4:04:19 PM (9 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
- Children:
- 94e0864d
- Parents:
- a1d5d2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
ra1d5d2a rde62360d 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Jun 12 23:55:26201513 // Update Count : 2 412 // Last Modified On : Sat Jun 13 09:10:31 2015 13 // Update Count : 25 14 14 // 15 15 … … 101 101 typedef DeclarationWithType Parent; 102 102 public: 103 FunctionDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Type linkage, FunctionType *type, CompoundStmt *statements, bool isInline );103 FunctionDecl( const std::string &name, DeclarationNode::StorageClass sc, LinkageSpec::Type linkage, FunctionType *type, CompoundStmt *statements, bool isInline, bool isNoreturn ); 104 104 FunctionDecl( const FunctionDecl &other ); 105 105 virtual ~FunctionDecl(); … … 113 113 void set_statements( CompoundStmt *newValue ) { statements = newValue; } 114 114 bool get_isInline() const { return isInline; } 115 // void set_isInline( bool newValue ) { isInline = newValue; }115 bool get_isNoreturn() const { return isNoreturn; } 116 116 std::list< std::string >& get_oldIdents() { return oldIdents; } 117 117 std::list< Declaration* >& get_oldDecls() { return oldDecls; } … … 125 125 FunctionType *type; 126 126 CompoundStmt *statements; 127 bool isInline ;127 bool isInline, isNoreturn; 128 128 std::list< std::string > oldIdents; 129 129 std::list< Declaration* > oldDecls;
Note: See TracChangeset
for help on using the changeset viewer.