diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-02-04 15:01:18 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-02-04 15:01:18 +0000 |
| commit | b8a9a41dd6ea0b0d652edb5be0a78dd21e0e271d (patch) | |
| tree | 73af2a895cd623e0261648fcb2cb3d7c31e9c9ee /clang/lib/Sema/SemaCXXScopeSpec.cpp | |
| parent | 82b7372941c4273d0bc4180b2b60c681fbcf63d1 (diff) | |
| download | bcm5719-llvm-b8a9a41dd6ea0b0d652edb5be0a78dd21e0e271d.tar.gz bcm5719-llvm-b8a9a41dd6ea0b0d652edb5be0a78dd21e0e271d.zip | |
Fix our semantic analysis of
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
Diffstat (limited to 'clang/lib/Sema/SemaCXXScopeSpec.cpp')
0 files changed, 0 insertions, 0 deletions

