summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2014-11-24 21:21:09 +0000
committerSamuel Benzaquen <sbenza@google.com>2014-11-24 21:21:09 +0000
commit074bbb698db6f2b4559a65a247e9d7aa0686de94 (patch)
tree6b1d510de2cccf6c1f0fe268be203bd99cb3d56d /clang/lib/Sema/SemaExpr.cpp
parent6953a3a6e006ee1f023e999a4304fddfbf70f1fc (diff)
downloadbcm5719-llvm-074bbb698db6f2b4559a65a247e9d7aa0686de94.tar.gz
bcm5719-llvm-074bbb698db6f2b4559a65a247e9d7aa0686de94.zip
Filter the toplevel matchers by kind.
Summary: Filter the toplevel matchers by kind. Decl and Stmt matchers are tied to a specific node kind and trying to match incompatible nodes is a waste. Precalculate a filtered list of matchers that have a chance of matching the node and ignore the rest. Speeds up our clang-tidy benchmark by ~10% Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D6361 llvm-svn: 222688
Diffstat (limited to 'clang/lib/Sema/SemaExpr.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud