[Mlir-commits] [mlir] 143e131 - Do not unnecessarily include StringSwitch.h

Kazu Hirata llvmlistbot at llvm.org
Sun Jun 11 13:19:37 PDT 2023


Author: Kazu Hirata
Date: 2023-06-11T13:19:22-07:00
New Revision: 143e131aa765103aab1626b8aca7b8431c3d175a

URL: https://github.com/llvm/llvm-project/commit/143e131aa765103aab1626b8aca7b8431c3d175a
DIFF: https://github.com/llvm/llvm-project/commit/143e131aa765103aab1626b8aca7b8431c3d175a.diff

LOG: Do not unnecessarily include StringSwitch.h

Added: 
    

Modified: 
    llvm/lib/TargetParser/AArch64TargetParser.cpp
    llvm/lib/TargetParser/TargetParser.cpp
    llvm/tools/llvm-driver/llvm-driver.cpp
    mlir/lib/TableGen/Dialect.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/TargetParser/AArch64TargetParser.cpp b/llvm/lib/TargetParser/AArch64TargetParser.cpp
index a53559247869d..3a1f549b28034 100644
--- a/llvm/lib/TargetParser/AArch64TargetParser.cpp
+++ b/llvm/lib/TargetParser/AArch64TargetParser.cpp
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/TargetParser/AArch64TargetParser.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/TargetParser/ARMTargetParserCommon.h"
 #include "llvm/TargetParser/Triple.h"
 #include <cctype>

diff  --git a/llvm/lib/TargetParser/TargetParser.cpp b/llvm/lib/TargetParser/TargetParser.cpp
index 584a9e6b3fda7..cd836a20fb2be 100644
--- a/llvm/lib/TargetParser/TargetParser.cpp
+++ b/llvm/lib/TargetParser/TargetParser.cpp
@@ -13,7 +13,6 @@
 
 #include "llvm/TargetParser/TargetParser.h"
 #include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/TargetParser/Triple.h"
 
 using namespace llvm;

diff  --git a/llvm/tools/llvm-driver/llvm-driver.cpp b/llvm/tools/llvm-driver/llvm-driver.cpp
index 11e79ed593410..a0f1ca831d93b 100644
--- a/llvm/tools/llvm-driver/llvm-driver.cpp
+++ b/llvm/tools/llvm-driver/llvm-driver.cpp
@@ -8,7 +8,6 @@
 
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/LLVMDriver.h"

diff  --git a/mlir/lib/TableGen/Dialect.cpp b/mlir/lib/TableGen/Dialect.cpp
index 74f3981d91947..d6d633dcdd4ed 100644
--- a/mlir/lib/TableGen/Dialect.cpp
+++ b/mlir/lib/TableGen/Dialect.cpp
@@ -11,7 +11,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "mlir/TableGen/Dialect.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/TableGen/Error.h"
 #include "llvm/TableGen/Record.h"
 


        


More information about the Mlir-commits mailing list