[NFC][clang-tidy] Disallow global 'using' directives in headers (#6998)

Add the google-global-names-in-headers rule to the list of clang-tidy checks to prevent namespace pollution.

This is intended to flag global using-directives in header files during PR checks. Collisions between the llvm and the mlir namespace have caused obscure build failures on Windows in the past. #6844 should have removed all existing occurrences in the CIRCT code base.
This commit is contained in:
fzi-hielscher 2024-05-07 21:24:37 +02:00 committed by GitHub
parent b8fb074687
commit 37d2891bbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ Checks: >
bugprone-terminating-continue,
bugprone-unused-raii,
bugprone-unused-return-value,
google-global-names-in-headers,
modernize-use-bool-literals,
modernize-loop-convert,
modernize-make-unique,