Changes in src/SynTree/Declaration.h [68cd1ce:de62360d]
- File:
-
- 1 edited
-
src/SynTree/Declaration.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Declaration.h
r68cd1ce 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.