[llvm] [MC] Remove a duplicate #include (NFC) (PR #165507)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 28 22:11:32 PDT 2025


https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/165507

Identified with readability-duplicate-include.


>From b42c11ac2f73474f02559baacf23775aadf3ecf8 Mon Sep 17 00:00:00 2001
From: Kazu Hirata <kazu at google.com>
Date: Sun, 26 Oct 2025 23:10:23 -0700
Subject: [PATCH] [MC] Remove a duplicate #include (NFC)

Identified with readability-duplicate-include.
---
 llvm/lib/MC/MCParser/AsmLexer.cpp | 1 -
 1 file changed, 1 deletion(-)

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"



More information about the llvm-commits mailing list