[llvm] [AMDGPU] Remove "using namespace" from a header. NFC. (PR #154776)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 07:50:35 PDT 2025


https://github.com/jayfoad created https://github.com/llvm/llvm-project/pull/154776

None

>From 7b12f26c0446dd28922340804add71072c57f53f Mon Sep 17 00:00:00 2001
From: Jay Foad <jay.foad at amd.com>
Date: Thu, 21 Aug 2025 15:49:25 +0100
Subject: [PATCH] [AMDGPU] Remove "using namespace" from a header. NFC.

---
 llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h b/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h
index 5ddf1ca2ab06d..47b718983d17f 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h
@@ -24,8 +24,6 @@ class AsmPrinter;
 class MCContext;
 } // namespace llvm
 
-using namespace llvm;
-
 class AMDGPUMCInstLower {
   MCContext &Ctx;
   const TargetSubtargetInfo &ST;



More information about the llvm-commits mailing list