- File:
-
- 1 edited
-
src/Validate/ForallPointerDecay.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Validate/ForallPointerDecay.cpp
rb1f2007d r14c0f7b 9 9 // Author : Andrew Beach 10 10 // Created On : Tue Dec 7 16:15:00 2021 11 // Last Modified By : Peter A. Buhr12 // Last Modified On : S un Nov 26 18:49:57 202313 // Update Count : 211 // Last Modified By : Andrew Beach 12 // Last Modified On : Sat Apr 23 13:10:00 2022 13 // Update Count : 1 14 14 // 15 15 … … 213 213 auto type = obj->type->stripDeclarator(); 214 214 if ( dynamic_cast< const ast::FunctionType * >( type ) ) return; 215 SemanticError( obj->location, "operator %s is not a function or function pointer.", obj->name.c_str() ); 215 SemanticError( obj->location, 216 toCString( "operator ", obj->name.c_str(), 217 " is not a function or function pointer." ) ); 216 218 } 217 219 };
Note:
See TracChangeset
for help on using the changeset viewer.