-
Notifications
You must be signed in to change notification settings - Fork 33
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 should follow clang-format #612
Conversation
|
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.
clang-tidy
found issue(s) with the introduced code (1/1)
@@ -190,7 +190,7 @@ const void* FieldsTrait::ConstView::get(const Field& field) const | |||
|
|||
const void* FieldsTrait::ConstView::get(const std::string& name) const | |||
{ | |||
const auto* field = mTrait.field(name); | |||
auto field = mTrait.field(name); |
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.
auto field
can be declared as const auto *field
auto field = mTrait.field(name); | |
const auto *field = mTrait.field(name); |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #612 +/- ##
=======================================
Coverage 36.57% 36.57%
=======================================
Files 89 89
Lines 6367 6367
=======================================
Hits 2329 2329
Misses 4038 4038
☔ View full report in Codecov by Sentry. |
Adding -format to |
Checklist