diff options
| author | Etienne Bergeron <etienneb@google.com> | 2016-04-26 16:53:21 +0000 |
|---|---|---|
| committer | Etienne Bergeron <etienneb@google.com> | 2016-04-26 16:53:21 +0000 |
| commit | 1b94f6504b37df09244e5fe8c0507559823edc48 (patch) | |
| tree | 9d34d322277f279190ac2de5e3ff7da196569ac0 /llvm/lib/DebugInfo/PDB | |
| parent | dbcf5b99d03a278e681e3bd5632d69751f8ce9d1 (diff) | |
| download | bcm5719-llvm-1b94f6504b37df09244e5fe8c0507559823edc48.tar.gz bcm5719-llvm-1b94f6504b37df09244e5fe8c0507559823edc48.zip | |
[clang-tidy] Enhance misc-suspicious-string-compare to move down false-positives.
Summary:
The checker was noisy when running over llvm code base.
This patch is impriving the way string-compare functions are matched.
1) By default, do not report !strcmp(...) unless it's activate by the user,
2) Only match suspicious expression over a subset of expression (binary operator),
3) Added matching of macro wrapper used with clang on linux.
See bug: 27465.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19497
llvm-svn: 267570
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
0 files changed, 0 insertions, 0 deletions

