Changeset 20eacb7 for src/InitTweak/InitTweak.cc
- Timestamp:
- Nov 9, 2017, 5:42:35 PM (7 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 10dc6908
- Parents:
- 96fc67b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/InitTweak/InitTweak.cc
r96fc67b r20eacb7 343 343 std::list< Expression * > matches; 344 344 collectCtorDtorCalls( stmt, matches ); 345 assert ( matches.size() <= 1);345 assertf( matches.size() <= 1, "%zd constructor/destructors found in %s", matches.size(), toString( stmt ).c_str() ); 346 346 return matches.size() == 1 ? matches.front() : nullptr; 347 347 }
Note: See TracChangeset
for help on using the changeset viewer.