Changeset 610354a for src/Common/ErrorObjects.h
- Timestamp:
- Dec 14, 2023, 1:55:18 PM (7 months ago)
- Branches:
- master
- Children:
- 21ad568
- Parents:
- 3e49c477
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Common/ErrorObjects.h
r3e49c477 r610354a 46 46 std::list< error > errors; 47 47 }; 48 49 void SemanticWarningImpl( CodeLocation location, std::string error );50 51 template< typename T >52 static inline void SemanticWarningImpl( const T * obj, const std::string & error ) {53 SemanticWarning( obj->location, toString( error, obj ) );54 }55 56 template< typename T >57 static inline void SemanticWarningImpl( CodeLocation location, const T * obj, const std::string & error ) {58 SemanticWarningImpl( location, toString( error, obj ) );59 }
Note: See TracChangeset
for help on using the changeset viewer.