Changeset af397ef8 for src/SymTab
- Timestamp:
- Jun 6, 2017, 4:03:24 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- d7dc824
- Parents:
- c5ac6d5
- Location:
- src/SymTab
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/SymTab/ImplementationType.cc ¶
rc5ac6d5 raf397ef8 76 76 } 77 77 78 void ImplementationType::visit(FunctionType *functionType) { 79 /// FunctionType *newType = functionType->clone(); 80 /// for ( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) { 81 /// i->set_type( implementationType( i->get_type(), indexer ) ); 82 /// } 83 /// for ( std::list< DeclarationWithType* >::iterator i = newType->get_parameters().begin(); i != newType->get_parameters().end(); ++i ) { 84 /// i->set_type( implementationType( i->get_type(), indexer ) ); 85 /// } 86 } 87 78 void ImplementationType::visit( __attribute__((unused)) FunctionType *functionType ) {} 88 79 void ImplementationType::visit( __attribute__((unused)) StructInstType * aggregateUseType ) {} 89 80 void ImplementationType::visit( __attribute__((unused)) UnionInstType * aggregateUseType ) {} -
TabularUnified src/SymTab/Mangler.cc ¶
rc5ac6d5 raf397ef8 236 236 } 237 237 238 void Mangler::visit( ZeroType *zeroType ) {238 void Mangler::visit( __attribute__((unused)) ZeroType *zeroType ) { 239 239 mangleName << "Z"; 240 240 } 241 241 242 void Mangler::visit( OneType *oneType ) {242 void Mangler::visit( __attribute__((unused)) OneType *oneType ) { 243 243 mangleName << "O"; 244 244 } -
TabularUnified src/SymTab/Validate.cc ¶
rc5ac6d5 raf397ef8 610 610 returnVals = functionDecl->get_functionType()->get_returnVals(); 611 611 } 612 void ReturnChecker::postvisit( FunctionDecl * functionDecl ) {612 void ReturnChecker::postvisit( __attribute__((unused)) FunctionDecl * functionDecl ) { 613 613 returnVals = returnValsStack.top(); 614 614 returnValsStack.pop();
Note: See TracChangeset
for help on using the changeset viewer.