[llvm] [NFC] Eliminate top-level "using namespace" from some headers. (PR #102751)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 10 06:56:56 PDT 2024


================
@@ -12,7 +12,7 @@
 #include "RISCVTargetStreamer.h"
 #include "llvm/MC/MCELFStreamer.h"
 
-using namespace llvm;
+namespace llvm {
----------------
nikic wrote:

There's a `namespace llvm {` below that you should move instead.

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


More information about the llvm-commits mailing list