-
Notifications
You must be signed in to change notification settings - Fork 245
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 order of includes #2015
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2015 +/- ##
==========================================
+ Coverage 82.41% 83.98% +1.57%
==========================================
Files 141 149 +8
Lines 25402 27160 +1758
==========================================
+ Hits 20935 22811 +1876
+ Misses 4467 4349 -118
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Fixes microsoft#1963 Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
The generate script does not handle this file. Signed-off-by: Dave Thaler <dthaler@microsoft.com>
Signed-off-by: Dave Thaler <dthaler@microsoft.com>
#include <malloc.h> | ||
#include <sddl.h> | ||
|
||
#include "rpc_interface_s.c" |
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.
nit: Since we have an exception here (that rpc_interface_s.c
is included after svc_common.h
), should we add a comment in the file mentioning this is deliberate?
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's not an exception per se, since this is including a C file not a header. DevelopmentGuide.md says:
DO include local headers (with
""
) before system headers (with<>
).
Line 60 of .clang-format explicitly puts C files after headers.
Description
Fixes #1963
Signed-off-by: Dave Thaler dthaler@microsoft.com
Testing
No impact.
Documentation
This PR includes doc updates.