]> granicus.if.org Git - clang/commit
Within a template, qualified name lookup can refer to a non-dependent type
authorDouglas Gregor <dgregor@apple.com>
Sun, 1 Nov 2009 17:08:18 +0000 (17:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sun, 1 Nov 2009 17:08:18 +0000 (17:08 +0000)
commit7a343142901f7f6bd1965051a24ae6a12c6f2148
tree37f2260b6153f21201d835d5f8c58474a01528d5
parent3114af3f7911befa8f05a9a76f7d9e380538075b
Within a template, qualified name lookup can refer to a non-dependent type
that is not known to be a base class at template definition time due
to some dependent base class. Treat qualified name lookup that refers
to a non-static data member or function as implicit class member
access when the "this" type would be dependent.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExprCXX.cpp
test/SemaTemplate/instantiate-method.cpp