]> granicus.if.org Git - clang/commit
Fix a crash-on-invalid involving name lookup of tag names, where we
authorDouglas Gregor <dgregor@apple.com>
Mon, 12 Apr 2010 16:00:01 +0000 (16:00 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 12 Apr 2010 16:00:01 +0000 (16:00 +0000)
commit57265e35292897e383d70bbd1d552209fac37b39
treee43845efefde3cd88483e9e0438d9c4af3a7423b
parent7683a3ffbbcb2950584bc85bb27ac921a3e5524e
Fix a crash-on-invalid involving name lookup of tag names, where we
ended up finding a function template that we didn't expect. Recover
more gracefully, and fix a similar issue for class templates.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101040 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/temp/temp.decls/temp.mem/p1.cpp
test/SemaTemplate/class-template-decl.cpp
test/SemaTemplate/friend.cpp