-
Notifications
You must be signed in to change notification settings - Fork 88
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
Enable cpp core guidlines checks. #3723
base: develop
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3723 +/- ##
========================================
Coverage 92.16% 92.16%
========================================
Files 515 515
Lines 21978 21978
========================================
Hits 20256 20256
Misses 1722 1722 ☔ View full report in Codecov by Sentry. |
This is still missing enabling the |
Thanks for pointing it out, the check is enabled now. |
@@ -171,9 +171,10 @@ TEST_CASE(fp32_fp16_test) | |||
}; | |||
|
|||
auto test_case = [&](std::vector<std::string>&& op_names) { |
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.
Function parameter should be const-ref.
@@ -894,15 +894,16 @@ void program::mark(const parameter_map& params, marker&& m) | |||
eval(params); | |||
this->finish(); | |||
// Start marking | |||
m.mark_start(*this); | |||
auto moved_marker = std::move(m); |
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.
Take the marker by value instead of forcing a move.
Fixes #2231