[clang-tools-extra] create new clang-tidy check to add namespaces to symbol references (PR #70621)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 30 08:02:16 PDT 2023


================
@@ -0,0 +1,24 @@
+.. title:: clang-tidy - readability-use-explicit-namespaces
+
+readability-use-explicit-namespaces
+===================================
+
+This check detects and fixes references to members of namespaces where the namespace is not explicity specified in the reference.  By default, this will only change references that are found through a using namespace directive.
+
+Example:
----------------
EugeneZelenko wrote:

See other documentation for code block examples.

https://github.com/llvm/llvm-project/pull/70621


More information about the cfe-commits mailing list