[clang-tidy] Optimize readability-implicit-bool-cast, NFC
authorAlexander Kornienko <alexfh@google.com>
Tue, 16 May 2017 16:40:46 +0000 (16:40 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 16 May 2017 16:40:46 +0000 (16:40 +0000)
commit50de3ad34185419fda1defb26aeefa783dad6c10
tree053b4f07fd101afa53f1a26221d3382efe94d85b
parentacca0f5c02584702b0ee14ce747a565d9f157bd4
[clang-tidy] Optimize readability-implicit-bool-cast, NFC

Rearrange matchers to put the most expensive ones closer to the end. Speed up
another 3-5x on some files.

llvm-svn: 303187
clang-tools-extra/clang-tidy/readability/ImplicitBoolCastCheck.cpp