[PATCH] D18175: Avoid using LookupResult's implicit copy ctor and assignment operator to avoid warnings
    John McCall via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Mar 15 09:53:21 PDT 2016
    
    
  
rjmccall added a comment.
You can't call getFoundDecl() if !isSingleResult().  You should add a test case that actually tests the possibility that this lookup will fail.
Repository:
  rL LLVM
http://reviews.llvm.org/D18175
    
    
More information about the cfe-commits
mailing list