Changeset 5809461 for src/InitTweak/FixInit.cc
- Timestamp:
- Sep 1, 2017, 6:59:48 PM (7 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:
- b0dfbc4
- Parents:
- bc3127d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/FixInit.cc
rbc3127d r5809461 127 127 128 128 // don't go into other functions 129 virtual void visit( __attribute__((unused)) FunctionDecl *decl) override {}129 virtual void visit( FunctionDecl * ) override {} 130 130 131 131 protected: … … 913 913 // of the error. See C++ Reference 6.6 Jump Statements for details. 914 914 void InsertDtors::handleGoto( BranchStmt * stmt ) { 915 assert( stmt->get_target() != "" && "BranchStmt missing a label" ); 915 // can't do anything for computed goto 916 if ( stmt->computedTarget ) return; 917 918 assertf( stmt->get_target() != "", "BranchStmt missing a label: %s", toString( stmt ).c_str() ); 916 919 // S_L = lvars = set of objects in scope at label definition 917 920 // S_G = curVars = set of objects in scope at goto statement
Note: See TracChangeset
for help on using the changeset viewer.