summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSamuel Benzaquen <sbenza@google.com>2014-10-09 19:28:18 +0000
committerSamuel Benzaquen <sbenza@google.com>2014-10-09 19:28:18 +0000
commit96039d727b3dfb190f23027aa62ec1718255ffa7 (patch)
treef704a2afa6ad3b33eae5e80926beb1f381cdbc16 /llvm/test
parent33860a8f09f75797226d1fee1a5af19dc49b6906 (diff)
downloadbcm5719-llvm-96039d727b3dfb190f23027aa62ec1718255ffa7.tar.gz
bcm5719-llvm-96039d727b3dfb190f23027aa62ec1718255ffa7.zip
Special case 0 and 1 matcher in makeAllOfComposite().
Summary: Remove unnecessary wrapping for the 0 and 1 matcher cases of makeAllOfComposite(). We don't need a variadic wrapper for those cases. Refactor TrueMatcher to take advandage of the new conversions between DynTypedMatcher and Matcher<T>. Also, make it a singleton. This change improves our clang-tidy related benchmarks by ~12%. Reviewers: klimek Subscribers: klimek, cfe-commits Differential Revision: http://reviews.llvm.org/D5675 llvm-svn: 219431
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud