Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/SymTab/Mangler.cc

    r4071778 r6f096d2  
    1010// Created On       : Sun May 17 21:40:29 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Tue Jul 30 13:46:10 2019
    13 // Update Count     : 26
     12// Last Modified On : Mon Sep 25 15:49:26 2017
     13// Update Count     : 23
    1414//
    1515#include "Mangler.h"
     
    377377                                        mangleName << Encoding::qualifiers.at(Type::Mutex);
    378378                                } // if
     379                                if ( type->get_lvalue() ) {
     380                                        // mangle based on whether the type is lvalue, so that the resolver can differentiate lvalues and rvalues
     381                                        mangleName << Encoding::qualifiers.at(Type::Lvalue);
     382                                }
     383
    379384                                if ( inFunctionType ) {
    380385                                        // turn off inFunctionType so that types can be differentiated for nested qualifiers
     
    719724                                mangleName << Encoding::qualifiers.at(Type::Mutex);
    720725                        } // if
     726                        if ( type->is_lvalue() ) {
     727                                // mangle based on whether the type is lvalue, so that the resolver can differentiate lvalues and rvalues
     728                                mangleName << Encoding::qualifiers.at(Type::Lvalue);
     729                        }
     730
    721731                        if ( inFunctionType ) {
    722732                                // turn off inFunctionType so that types can be differentiated for nested qualifiers
Note: See TracChangeset for help on using the changeset viewer.