Changeset be151bf for src/include


Ignore:
Timestamp:
Oct 19, 2017, 11:13:12 AM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, 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.