================
@@ -0,0 +1,22 @@
+// RUN: %check_clang_tidy %s readability-use-explicit-namespaces %t
+
+namespace foo
+{
+void doSomething()
+{
+}
+}
+
+void test1()
+{
+        foo::doSomething();
+}
+
+using namespace foo;
+
+void test2()
+{
+       // CHECK-MESSAGES: :[[@LINE+1]]:2: warning: Missing namespace 
qualifiers foo::
+        doSomething();
+}
+
----------------
EugeneZelenko wrote:

Excessive newline.

https://github.com/llvm/llvm-project/pull/70621
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to