================
@@ -21,58 +21,22 @@
 #include <memory>
 #include <string>
 
-namespace clang::ssaf {
+using namespace clang;
+using namespace ssaf;
 
 namespace path = llvm::sys::path;
 
-static llvm::StringRef ToolName;
-static llvm::StringRef ToolVersion;
+namespace {
----------------
aviralg wrote:

Yes. I read the coding guidelines and realized that some of our prior uses 
broke this rule. I prefer anonymous namespace because its cleaner (less noise) 
and uniform (works for all constructs).

https://github.com/llvm/llvm-project/pull/187439
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to