Changeset 7102540


Ignore:
Timestamp:
Feb 11, 2020, 3:12:56 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
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
Message:

change name mangling for postfix function from "operator_literal_" to "postfix_call_"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/CodeGen/OperatorTable.cc

    r3966d9a r7102540  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sat Jul 15 17:12:22 2017
    13 // Update Count     : 15
     12// Last Modified On : Mon Feb 10 18:12:12 2020
     13// Update Count     : 17
    1414//
    1515
     
    8787                std::map< std::string, OperatorInfo >::const_iterator i = table.find( funcName );
    8888                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 ?
    9190                                info.inputName = funcName;
    9291                                info.symbol = funcName.substr(2);
    93                                 info.outputName = toString( "__operator_literal_", info.symbol );
     92                                info.outputName = toString( "__postfix_call_", info.symbol );
    9493                                info.type = OT_POSTFIX;
    9594                                return true;
Note: See TracChangeset for help on using the changeset viewer.