]> granicus.if.org Git - clang/commit
Don't look up decls with no name (such as parameters and unnamed tagged types),
authorChris Lattner <sabre@nondot.org>
Wed, 21 Jan 2009 02:38:50 +0000 (02:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Jan 2009 02:38:50 +0000 (02:38 +0000)
commitcf79b011e849a4455cb7b0de6dc4fb3b83308f39
tree268bc3fb57bf069cebfc4dc0050aac51a1daa55c
parent768be1c162b8b22b625dac81b36a0a00ba4faf04
Don't look up decls with no name (such as parameters and unnamed tagged types),
this removes 4266 calls to LookupDecl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62662 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp