You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance the using directives check by adding more granularity to the warnings.
The warnings are split into multiple categories
1. block/namespace scope
2. source/header file
3. literal/nonliteral namespace
Possible filter combinations would look like the following
1. Google: None
2. CppCoreGuidelines
1. -build/namespaces/header/block
2. -build/namespaces/source
3. Like CppCoreGuidlines, but disallow non-literal namespaces in source files at namespace scope
1. -build/namespaces/header/block
2. -build/namespaces/source/block
3. -build/namespaces/source/namespace/literal
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments