Changeset 8e9cbb2 for src/Parser/ParseNode.cc
- Timestamp:
- Jul 4, 2016, 9:24:11 PM (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:
- 7fe4cc3
- Parents:
- 0a2c1f1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.cc
r0a2c1f1 r8e9cbb2 10 10 // Created On : Sat May 16 13:26:29 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Jun 30 13:30:43201613 // Update Count : 5 012 // Last Modified On : Thu Jun 30 21:13:12 2016 13 // Update Count : 52 14 14 // 15 15 … … 157 157 } // literalType 158 158 159 159 160 ConstantNode *makeConstant( ConstantNode::Type type, std::string *str ) { 160 161 ::Type::Qualifiers emptyQualifiers; // no qualifiers on constants … … 185 186 }; 186 187 187 ParseNode *ParseNode::get_link() const {188 return next;189 }190 191 188 ParseNode *ParseNode::get_last() { 192 189 ParseNode *current = this; … … 200 197 ParseNode *ParseNode::set_link( ParseNode *next_ ) { 201 198 if ( next_ == 0 ) return this; 202 203 199 get_last()->next = next_; 204 205 200 return this; 206 201 }
Note: See TracChangeset
for help on using the changeset viewer.