-
Notifications
You must be signed in to change notification settings - Fork 915
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
Clean up C++ includes to use <> instead of "". #10658
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #10658 +/- ##
================================================
+ Coverage 86.33% 86.37% +0.03%
================================================
Files 140 142 +2
Lines 22289 22356 +67
================================================
+ Hits 19244 19310 +66
- Misses 3045 3046 +1
Continue to review full report at Codecov.
|
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.
Thanks for doing this.
Is there any VS code settings available to default to <> instead of "" ?
I'm not aware of a setting for that. I believe it is added by the clangd server and controlled by |
#include <benchmark/benchmark.h> | ||
|
||
#include <benchmarks/fixture/benchmark_fixture.hpp> | ||
#include <benchmarks/synchronization/synchronization.hpp> |
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.
#include <benchmark/benchmark.h> | |
#include <benchmarks/fixture/benchmark_fixture.hpp> | |
#include <benchmarks/synchronization/synchronization.hpp> | |
#include <benchmarks/fixture/benchmark_fixture.hpp> | |
#include <benchmarks/synchronization/synchronization.hpp> | |
#include <benchmark/benchmark.h> |
gbench header is "further" than local headers.
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.
gbench headers are not really needed when benchmarks/fixture/benchmark_fixture.hpp
is included.
some files include it, some don't.
I am creating a cleanup PR for this. (#10661)
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.
@karthikeyann How do you want to do the merge order? Should this PR go first? If so, can you approve?
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.
this one should go first
Co-authored-by: Yunsong Wang <[email protected]>
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.
LGTM
@gpucibot merge |
This PR cleans up some C++ includes to use
#include <...>
instead of#include "..."
where appropriate.