Ignore:
Timestamp:
Oct 19, 2017, 11:13:12 AM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
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:
a117f7c
Parents:
21ea170
git-author:
Rob Schluntz <rschlunt@…> (10/12/17 15:53:05)
git-committer:
Rob Schluntz <rschlunt@…> (10/19/17 11:13:12)
Message:

Minor cleanup in InsertImplicitCalls? and augment assert in strict_dynamic_cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/cassert

    r21ea170 rbe151bf  
    4141static inline T strict_dynamic_cast( const U & src ) {
    4242        T ret = dynamic_cast<T>(src);
    43         assert(ret);
     43        assertf(ret, "%s", toString(src).c_str());
    4444        return ret;
    4545}
Note: See TracChangeset for help on using the changeset viewer.