[llvm] [AMDGPU] Remove "using namespace" from a header. NFC. (PR #154776)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 07:51:07 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Jay Foad (jayfoad)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/154776.diff
1 Files Affected:
- (modified) llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.h (-2)
``````````diff
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;
``````````
</details>
https://github.com/llvm/llvm-project/pull/154776
More information about the llvm-commits
mailing list