]> granicus.if.org Git - clang/commit
It never makes sense to do a lookup into a LinkageSpecDecl, so assert that we
authorNick Lewycky <nicholas@mxc.ca>
Tue, 13 Mar 2012 04:12:34 +0000 (04:12 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 13 Mar 2012 04:12:34 +0000 (04:12 +0000)
commit65daef179790a02eab1b5a989f53984375a06483
tree1b8c672a04a8d0b01be2aa0c314e18525a4d063d
parent1b7f9cbed1b96b58a6e5f7808ebc9345a76a0936
It never makes sense to do a lookup into a LinkageSpecDecl, so assert that we
don't, and clean up the places that do it.

The change to ASTWriter is surprising, but the deleted code is a no-op as of
r152608.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152609 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/DeclBase.cpp
lib/Sema/SemaLookup.cpp
lib/Serialization/ASTWriter.cpp