-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-tidy: Enable readability checks #361
Conversation
1a6e030
to
6877461
Compare
Codecov Report
@@ Coverage Diff @@
## master #361 +/- ##
=======================================
Coverage 98.93% 98.94%
=======================================
Files 42 42
Lines 12320 12317 -3
=======================================
- Hits 12189 12187 -2
+ Misses 131 130 -1 |
@chfast you want to land this? |
6877461
to
c45e12d
Compare
c45e12d
to
461e45a
Compare
@@ -8,7 +8,7 @@ | |||
#include <gmock/gmock.h> | |||
#include <iosfwd> | |||
|
|||
MATCHER(Traps, "") | |||
MATCHER(Traps, "") // NOLINT(readability-redundant-string-init) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Btw what is this error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It generates code like std::string s = ""
.
return false; | ||
|
||
return true; | ||
return r.result == wabt::interp::Result::Ok; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still hoped to prove both branches are covered with #381, but will add back the inverse of this commit for a test.
No description provided.