Changeset b128d3e for src/InitTweak
- Timestamp:
- Aug 28, 2017, 1:55:16 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:
- 193bba0
- Parents:
- 7ee1e2f6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
r7ee1e2f6 rb128d3e 325 325 std::string name = getFunctionName( expr ); 326 326 assertf( name == "*?", "Unexpected untyped expression: %s", name.c_str() ); 327 assertf( ! expr->get_args().empty(), "Can 't get called function from dereference with no arguments" );327 assertf( ! expr->get_args().empty(), "Cannot get called function from dereference with no arguments" ); 328 328 return getCalledFunction( expr->get_args().front() ); 329 329 } … … 433 433 std::string name = getFunctionName( expr ); 434 434 assertf( name == "*?", "Unexpected untyped expression: %s", name.c_str() ); 435 assertf( ! expr->get_args().empty(), "Can 't get function name from dereference with no arguments" );435 assertf( ! expr->get_args().empty(), "Cannot get function name from dereference with no arguments" ); 436 436 return funcName( expr->get_args().front() ); 437 437 }
Note: See TracChangeset
for help on using the changeset viewer.