Changeset 7102540
- Timestamp:
- Feb 11, 2020, 3:12:56 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8abca06
- Parents:
- 3966d9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/OperatorTable.cc
r3966d9a r7102540 10 10 // Created On : Mon May 18 07:44:20 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Jul 15 17:12:22 201713 // Update Count : 1 512 // Last Modified On : Mon Feb 10 18:12:12 2020 13 // Update Count : 17 14 14 // 15 15 … … 87 87 std::map< std::string, OperatorInfo >::const_iterator i = table.find( funcName ); 88 88 if ( i == table.end() ) { 89 if ( isPrefix( funcName, "?`" ) ) { 90 // handle literal suffixes, which are user-defined postfix operators 89 if ( isPrefix( funcName, "?`" ) ) { // user-defined postfix operator ? 91 90 info.inputName = funcName; 92 91 info.symbol = funcName.substr(2); 93 info.outputName = toString( "__ operator_literal_", info.symbol );92 info.outputName = toString( "__postfix_call_", info.symbol ); 94 93 info.type = OT_POSTFIX; 95 94 return true;
Note: See TracChangeset
for help on using the changeset viewer.