Stephen Kelly
|
43465bf3fd
|
Port getLocStart -> getBeginLoc
Reviewers: javed.absar
Subscribers: nemanjai, kbarton, ilya-biryukov, ioeric, jkorous, arphaman, jfb, cfe-commits
Differential Revision: https://reviews.llvm.org/D50354
llvm-svn: 339400
|
2018-08-09 22:42:26 +00:00 |
Alexander Kornienko
|
31176afd16
|
[clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option
llvm-svn: 308181
|
2017-07-17 14:43:06 +00:00 |
Kirill Bobyrev
|
75de8968b6
|
[clang-tidy] enhance modernize-use-bool-literals to check ternary operator
modernize-use-bool-literals doesn't checks operands in ternary operator.
For example:
``` c++
static int Value = 1;
bool foo() {
bool Result = Value == 1 ? 1 : 0;
return Result;
}
bool boo() {
return Value == 1 ? 1 : 0;
}
```
This issue was reported in bug 28854. The patch fixes it.
Reviewers: alexfh, aaron.ballman, Prazek
Subscribers: Prazek, Eugene.Zelenko
Differential Revision: https://reviews.llvm.org/D23243
llvm-svn: 278022
|
2016-08-08 17:11:56 +00:00 |
Piotr Padlewski
|
e93a73fb7a
|
[ASTMatchers] Added ignoringParenImpCasts to has matchers
has matcher changed behaviour, and now it matches "as is" and
doesn't skip implicit and paren casts
http://reviews.llvm.org/D20801
llvm-svn: 271289
|
2016-05-31 15:26:56 +00:00 |
Jakub Staron
|
f7df72694a
|
[clang-tidy] Adds modernize-use-bool-literals check.
Review link: http://reviews.llvm.org/D18745
llvm-svn: 269171
|
2016-05-11 11:33:16 +00:00 |