Changes in src/CodeGen/OperatorTable.cpp [15cb790:c92bdcc]
- File:
-
- 1 edited
-
src/CodeGen/OperatorTable.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/OperatorTable.cpp
r15cb790 rc92bdcc 76 76 } 77 77 78 // Filter out non-operator names: 79 if ( inputName.find_first_of( "?^*+-!", 0, 1 ) == std::string::npos ) return nullptr; 80 auto entry = inputTable.find( inputName ); 78 if ( inputName.find_first_of( "?^*+-!", 0, 1 ) == std::string::npos ) return nullptr; // prefilter 79 const OperatorInfo * ret = inputTable.find( inputName )->second; 81 80 // This can only happen if an invalid identifier name has been used. 82 assertf( entry != inputTable.end(), "Not a real operator: %s\n", inputName.c_str() );83 const OperatorInfo * ret = entry->second;84 81 assert( ret ); 85 82 return ret;
Note:
See TracChangeset
for help on using the changeset viewer.