Changeset 3d2b7bc for src/SymTab
- Timestamp:
- Mar 28, 2018, 4:46:54 PM (7 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, with_gc
- Children:
- f6e3e34
- Parents:
- b5563e1
- git-author:
- Rob Schluntz <rschlunt@…> (03/28/18 10:35:21)
- git-committer:
- Rob Schluntz <rschlunt@…> (03/28/18 16:46:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/SymTab/Validate.cc
rb5563e1 r3d2b7bc 630 630 forallFixer( pointer->base->forall, object ); 631 631 } // if 632 // ensure that operator names only apply to functions or function pointers 633 if ( CodeGen::isOperator( object->name ) && ! dynamic_cast< FunctionType * >( object->type->stripDeclarator() ) ) { 634 SemanticError( object->location, toCString( "operator ", object->name.c_str(), " is not a function or function pointer." ) ); 635 } 632 636 object->fixUniqueId(); 633 637 }
Note: See TracChangeset
for help on using the changeset viewer.