Changeset 37a3b8f9 for src/SynTree/Type.h
- Timestamp:
- Nov 10, 2015, 4:15:48 PM (8 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:
- d8847b7
- Parents:
- d2ded3e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SynTree/Type.h
rd2ded3e7 r37a3b8f9 237 237 StructDecl *get_baseStruct() const { return baseStruct; } 238 238 void set_baseStruct( StructDecl *newValue ) { baseStruct = newValue; } 239 240 // a utility function 239 240 /// Accesses generic parameters of base struct 241 std::list<TypeDecl*>& get_baseParameters(); 242 243 /// Looks up the members of this struct named "name" and places them into "foundDecls". 244 /// Clones declarations into "foundDecls", caller responsible for freeing 241 245 void lookup( const std::string &name, std::list< Declaration* > &foundDecls ) const; 242 246 … … 260 264 UnionDecl *get_baseUnion() const { return baseUnion; } 261 265 void set_baseUnion( UnionDecl *newValue ) { baseUnion = newValue; } 262 263 // a utility function 266 267 /// Accesses generic parameters of base union 268 std::list<TypeDecl*>& get_baseParameters(); 269 270 /// looks up the members of this union named "name" and places them into "foundDecls" 271 /// Clones declarations into "foundDecls", caller responsible for freeing 264 272 void lookup( const std::string &name, std::list< Declaration* > &foundDecls ) const; 265 273
Note: See TracChangeset
for help on using the changeset viewer.