]> granicus.if.org Git - clang/commit
When we perform name lookup for a template, we may end up finding an
authorDouglas Gregor <dgregor@apple.com>
Fri, 22 Oct 2010 17:36:51 +0000 (17:36 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 22 Oct 2010 17:36:51 +0000 (17:36 +0000)
commitdd8c10fbd87f171e361a53c5835800369170123b
tree01415fbc227abaf546d63e765b71653a0692e367
parent8523d81f3ed13914cafa953233b79cdd8a3eb75c
When we perform name lookup for a template, we may end up finding an
ambiguous name where none of the declarations found are actually
templates. In this case, make sure we clear out the ambiguous-path
data when recomputing the lookup result kind. Fixes PR8439.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117112 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Lookup.h
test/SemaTemplate/member-access-ambig.cpp [new file with mode: 0644]