- Timestamp:
 - Mar 19, 2018, 2:07:42 PM (8 years ago)
 - Branches:
 - ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
 - Children:
 - 453b586
 - Parents:
 - ec6c040
 - git-author:
 - Rob Schluntz <rschlunt@…> (03/19/18 11:43:29)
 - git-committer:
 - Rob Schluntz <rschlunt@…> (03/19/18 14:07:42)
 - Location:
 - src
 - Files:
 - 
      
- 2 edited
 
- 
          
  Common/SemanticError.h (modified) (1 diff)
 - 
          
  GenPoly/Lvalue.cc (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
src/Common/SemanticError.h
rec6c040 r2348881 38 38 constexpr const char * const WarningFormats[] = { 39 39 "self assignment of expression: %s", 40 "rvalue to reference conversion ",40 "rvalue to reference conversion of rvalue: %s", 41 41 }; 42 42  - 
      
src/GenPoly/Lvalue.cc
rec6c040 r2348881 296 296 // int && __ref_tmp_2 = &__ref_tmp_1; 297 297 // &__ref_tmp_2; 298 SemanticWarning( castExpr->arg->location, Warning::RvalueToReferenceConversion );298 SemanticWarning( castExpr->arg->location, Warning::RvalueToReferenceConversion, toCString( castExpr->arg ) ); 299 299 300 300 static UniqueName tempNamer( "__ref_tmp_" );  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.