summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2014-06-05 14:47:08 +0000
committerSamuel Benzaquen <sbenza@google.com>2014-06-05 14:47:08 +0000
commit6c521451b8c46cc73c76fb27582461cf1fab2fb9 (patch)
tree4dd12e4ad3c18e7899b15c89fa585f5aa9f2298c /lib/CodeGen/CGExpr.cpp
parentc84a5329f6ca3137a3e4e1259f4d9cf1e985d191 (diff)
downloadclang-6c521451b8c46cc73c76fb27582461cf1fab2fb9.tar.gz
clang-6c521451b8c46cc73c76fb27582461cf1fab2fb9.tar.bz2
clang-6c521451b8c46cc73c76fb27582461cf1fab2fb9.tar.xz
Fix equalsNode() to accept pointers to derived types.
Summary: Move the 'const' in the AST_*MATCHER_P* macros to the right of ParamType to avoiad applying the constness on the wrong level when ParamType is a pointer. Change equalsNode() to explicitly accept 'const Decl*' or 'const Stmt*'. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D3994 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@210269 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions