Changeset 8abee13 for src/include


Ignore:
Timestamp:
May 22, 2019, 5:01:53 PM (3 years ago)
Author:
Michael Brooks <mlbrooks@…>
Branches:
arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
ef5ef56
Parents:
f4c2f1a
Message:

early bug fixes from running conversion old-new-old, just before resolver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/include/cassert

    rf4c2f1a r8abee13  
    4444
    4545template<typename T, typename U>
    46 static inline T strict_dynamic_cast( const U & src ) {
     46static inline __attribute__((nonnull)) T strict_dynamic_cast( const U & src ) {
     47        assert(src);
    4748        T ret = dynamic_cast<T>(src);
    4849        assertf(ret, "%s", toString(src).c_str());
Note: See TracChangeset for help on using the changeset viewer.