[llvm] 43bf2be - LLParser.cpp - remove headers explicitly included in LLParser.h. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat May 16 07:02:52 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-16T15:00:56+01:00
New Revision: 43bf2be4d92064b530f9b67582eb12a9afb7e653
URL: https://github.com/llvm/llvm-project/commit/43bf2be4d92064b530f9b67582eb12a9afb7e653
DIFF: https://github.com/llvm/llvm-project/commit/43bf2be4d92064b530f9b67582eb12a9afb7e653.diff
LOG: LLParser.cpp - remove headers explicitly included in LLParser.h. NFC.
Don't duplicate module header includes.
Added:
Modified:
llvm/lib/AsmParser/LLParser.cpp
Removed:
################################################################################
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 8e95e8f57a70..13c7eafff381 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -13,7 +13,6 @@
#include "LLParser.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/None.h"
-#include "llvm/ADT/Optional.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/AsmParser/SlotMapping.h"
@@ -30,14 +29,10 @@
#include "llvm/IR/GlobalIFunc.h"
#include "llvm/IR/GlobalObject.h"
#include "llvm/IR/InlineAsm.h"
-#include "llvm/IR/Instruction.h"
-#include "llvm/IR/Instructions.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
-#include "llvm/IR/Operator.h"
-#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/IR/ValueSymbolTable.h"
#include "llvm/Support/Casting.h"
More information about the llvm-commits
mailing list