diff options
| author | Douglas Gregor <dgregor@apple.com> | 2010-01-14 17:47:39 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2010-01-14 17:47:39 +0000 |
| commit | d2e6a457229ccf2478cbd7de5fe763b871a482d8 (patch) | |
| tree | ecb0845d6180610cd78c298314fb8a99b0b09741 /clang/lib/Sema/Sema.h | |
| parent | fc59ce1ea47cd9ea8f887dc5e5ae8191ef762957 (diff) | |
| download | bcm5719-llvm-d2e6a457229ccf2478cbd7de5fe763b871a482d8.tar.gz bcm5719-llvm-d2e6a457229ccf2478cbd7de5fe763b871a482d8.zip | |
When qualified lookup into the current instantiation fails (because it
finds nothing), and the current instantiation has dependent base
classes, treat the qualified lookup as if it referred to an unknown
specialization. Fixes PR6031.
llvm-svn: 93433
Diffstat (limited to 'clang/lib/Sema/Sema.h')
| -rw-r--r-- | clang/lib/Sema/Sema.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/Sema.h b/clang/lib/Sema/Sema.h index 8fc34880c11..44bf48915ea 100644 --- a/clang/lib/Sema/Sema.h +++ b/clang/lib/Sema/Sema.h @@ -2032,6 +2032,7 @@ public: bool isDependentScopeSpecifier(const CXXScopeSpec &SS); CXXRecordDecl *getCurrentInstantiationOf(NestedNameSpecifier *NNS); bool isUnknownSpecialization(const CXXScopeSpec &SS); + bool isCurrentInstantiationWithDependentBases(const CXXScopeSpec &SS); /// ActOnCXXGlobalScopeSpecifier - Return the object that represents the /// global scope ('::'). |

