This patch fixes PR27410 and adds std::basic_string support.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D19262
[clang-tidy] readability-container-size-empty fixes ClosedPublic Authored by xazax.hun on Apr 19 2016, 6:14 AM.
Details Summary This patch fixes PR27410 and adds std::basic_string support.
Diff Detail Event Timelinexazax.hun updated this object. This revision is now accepted and ready to land.Apr 19 2016, 6:30 AM Closed by commit rL266734: [clang-tidy] readability-container-size-empty fixes (authored by xazax). · Explain WhyApr 19 2016, 6:34 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 54182 clang-tidy/readability/ContainerSizeEmptyCheck.cpp
test/clang-tidy/readability-container-size-empty.cpp
|
You don't need to check the whole message (we only check the whole message at first place), just keep CHECK-MESSAGES: :[[@LINE-2]]:7: warning: the 'empty' method should be used.