aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.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
commit93d68595a9968b9e3fbb3c8e2415c058965f93c5 (patch)
tree488fa5f550c47940e44723668397c3e3059903a6 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7f02cff20dc965cef3df4b944c76542c4c45c3e7 (diff)
downloadllvm-93d68595a9968b9e3fbb3c8e2415c058965f93c5.zip
llvm-93d68595a9968b9e3fbb3c8e2415c058965f93c5.tar.gz
llvm-93d68595a9968b9e3fbb3c8e2415c058965f93c5.tar.bz2
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 llvm-svn: 210269
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions