Changeset 453b586


Ignore:
Timestamp:
Mar 19, 2018, 2:07:42 PM (4 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, with_gc
Children:
a4d188f
Parents:
2348881
git-author:
Rob Schluntz <rschlunt@…> (03/19/18 11:44:39)
git-committer:
Rob Schluntz <rschlunt@…> (03/19/18 14:07:42)
Message:

Update depth counter after reference-to-rvalue conversion

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/GenPoly/Lvalue.cc

    r2348881 r453b586  
    296296                                //   int && __ref_tmp_2 = &__ref_tmp_1;
    297297                                //   &__ref_tmp_2;
     298                                // the last & comes from the remaining reference conversion code
    298299                                SemanticWarning( castExpr->arg->location, Warning::RvalueToReferenceConversion, toCString( castExpr->arg ) );
    299300
Note: See TracChangeset for help on using the changeset viewer.