Skip to content
  • Douglas Gregor's avatar
    Fix our semantic analysis of · b8a9a41d
    Douglas Gregor authored
      unqualified-id '('
    
    in C++. The unqualified-id might not refer to any declaration in our
    current scope, but declarations by that name might be found via
    argument-dependent lookup. We now do so properly.
    
    As part of this change, CXXDependentNameExpr, which was previously
    designed to express the unqualified-id in the above constructor within
    templates, has become UnresolvedFunctionNameExpr, which does
    effectively the same thing but will work for both templates and
    non-templates.
    
    Additionally, we cope with all unqualified-ids, since ADL also applies
    in cases like
    
      operator+(x, y)
    
    llvm-svn: 63733
    b8a9a41d
Loading