]> granicus.if.org Git - clang/commit
Add DeclContext::Equals to compare declaration contexts based on their primary contex...
authorDouglas Gregor <dgregor@apple.com>
Tue, 1 Sep 2009 17:22:34 +0000 (17:22 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 1 Sep 2009 17:22:34 +0000 (17:22 +0000)
commit61481dad22ebca3fba3fe4fb67a3b926d0895e9c
tree0d363a2de3b2e1b41b45eca905fae88a3d9454a5
parentb7cd17cfd2970636af0fe9b491bab1acf0009c2f
Add DeclContext::Equals to compare declaration contexts based on their primary context. Use this instead of pointer comparisons

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80690 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclBase.h
lib/Sema/IdentifierResolver.cpp