]> granicus.if.org Git - clang/commit
During C++ name lookup, use DeclContext::Equals() rather than
authorDouglas Gregor <dgregor@apple.com>
Mon, 15 Mar 2010 15:26:48 +0000 (15:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 15 Mar 2010 15:26:48 +0000 (15:26 +0000)
commitdbdf5e7d0b6f1f8d8c496c1a0ada6f706cddf100
treecefef371475b4b64b5eff964a332e4a06a405457
parent711be1e89a56cdf679143ad18afaa58ed59f0584
During C++ name lookup, use DeclContext::Equals() rather than
comparing DeclContext pointers, to avoid having to remember to call
getPrimaryContext() everywhere. This is the last part PR6594.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98546 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/Sema/SemaLookup.cpp
test/CXX/temp/temp.res/temp.local/p8.cpp