Changeset ba54f7d for src/include/cassert
- Timestamp:
- Sep 13, 2017, 3:11:24 PM (8 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:
- c57ded70, db70fe4
- Parents:
- d130fe8 (diff), 982832e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/include/cassert
rd130fe8 rba54f7d 31 31 __ASSERT_FUNCTION, fmt, ## __VA_ARGS__ )) 32 32 33 void __assert_fail_f( const char *assertion, const char *file, 34 unsigned int line, const char *function, 35 const char *fmt, ... 33 void __assert_fail_f( const char *assertion, const char *file, 34 unsigned int line, const char *function, 35 const char *fmt, ... 36 36 ) __attribute__((noreturn, format(printf, 5, 6))); 37 37 … … 39 39 40 40 template<typename T, typename U> 41 static inline T s afe_dynamic_cast( const U & src ) {41 static inline T strict_dynamic_cast( const U & src ) { 42 42 T ret = dynamic_cast<T>(src); 43 43 assert(ret);
Note:
See TracChangeset
for help on using the changeset viewer.