[llvm] 1041e8b - MILexer.h/cpp - remove unused includes. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri May 22 02:51:28 PDT 2020
Author: Simon Pilgrim
Date: 2020-05-22T10:49:10+01:00
New Revision: 1041e8b8868dd9e6a4d1c3cfda5e59756a8c8ee7
URL: https://github.com/llvm/llvm-project/commit/1041e8b8868dd9e6a4d1c3cfda5e59756a8c8ee7
DIFF: https://github.com/llvm/llvm-project/commit/1041e8b8868dd9e6a4d1c3cfda5e59756a8c8ee7.diff
LOG: MILexer.h/cpp - remove unused includes. NFC.
Remove duplicates in MILexer.cpp that are already included in MILexer.h.
Added:
Modified:
llvm/lib/CodeGen/MIRParser/MILexer.cpp
llvm/lib/CodeGen/MIRParser/MILexer.h
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.cpp b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
index 0fbedc424949..98af46dc4872 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.cpp
@@ -11,12 +11,9 @@
//===----------------------------------------------------------------------===//
#include "MILexer.h"
-#include "llvm/ADT/APSInt.h"
#include "llvm/ADT/None.h"
-#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
-#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include <algorithm>
#include <cassert>
diff --git a/llvm/lib/CodeGen/MIRParser/MILexer.h b/llvm/lib/CodeGen/MIRParser/MILexer.h
index c804e1604f7b..ef16da94d21b 100644
--- a/llvm/lib/CodeGen/MIRParser/MILexer.h
+++ b/llvm/lib/CodeGen/MIRParser/MILexer.h
@@ -15,7 +15,6 @@
#define LLVM_LIB_CODEGEN_MIRPARSER_MILEXER_H
#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringRef.h"
#include <string>
More information about the llvm-commits
mailing list