[llvm] [MC] Remove a duplicate #include (NFC) (PR #165507)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 28 22:12:03 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-mc
Author: Kazu Hirata (kazutakahirata)
<details>
<summary>Changes</summary>
Identified with readability-duplicate-include.
---
Full diff: https://github.com/llvm/llvm-project/pull/165507.diff
1 Files Affected:
- (modified) llvm/lib/MC/MCParser/AsmLexer.cpp (-1)
``````````diff
diff --git a/llvm/lib/MC/MCParser/AsmLexer.cpp b/llvm/lib/MC/MCParser/AsmLexer.cpp
index a6188f0676937..1af4a297babaa 100644
--- a/llvm/lib/MC/MCParser/AsmLexer.cpp
+++ b/llvm/lib/MC/MCParser/AsmLexer.cpp
@@ -16,7 +16,6 @@
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/MC/MCAsmInfo.h"
-#include "llvm/MC/MCParser/AsmLexer.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/SaveAndRestore.h"
``````````
</details>
https://github.com/llvm/llvm-project/pull/165507
More information about the llvm-commits
mailing list