Don't include StringSwitch (NFC)
authorKazu Hirata <kazu@google.com>
Thu, 15 Dec 2022 05:50:34 +0000 (21:50 -0800)
committerKazu Hirata <kazu@google.com>
Thu, 15 Dec 2022 05:50:34 +0000 (21:50 -0800)
These files do not use llvm::StringSwitch.

clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
clang/lib/Basic/Cuda.cpp
clang/lib/Frontend/DependencyFile.cpp
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
flang/lib/Optimizer/Dialect/FIROps.cpp
lld/COFF/Writer.cpp
lldb/source/Host/common/Host.cpp
lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
llvm/lib/Support/LoongArchTargetParser.cpp
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp

index 6792568..3033fcb 100644 (file)
@@ -17,7 +17,6 @@
 #include "llvm/ADT/ArrayRef.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/Casting.h"
 #include "llvm/Support/raw_ostream.h"
 #include <cassert>
index cb9c679..b4cf6cb 100644 (file)
@@ -1,7 +1,6 @@
 #include "clang/Basic/Cuda.h"
 
 #include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Twine.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/VersionTuple.h"
index 159eaaa..8d712a2 100644 (file)
@@ -21,7 +21,6 @@
 #include "clang/Lex/Preprocessor.h"
 #include "clang/Serialization/ASTReader.h"
 #include "llvm/ADT/StringSet.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/Path.h"
 #include "llvm/Support/raw_ostream.h"
index a765262..4c615b7 100644 (file)
@@ -21,7 +21,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringMap.h"
 #include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/Triple.h"
 #include "llvm/Object/Archive.h"
 #include "llvm/Object/ArchiveWriter.h"
index e0ca4fe..800bd23 100644 (file)
@@ -27,7 +27,6 @@
 #include "mlir/IR/PatternMatch.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/ADT/TypeSwitch.h"
 
 namespace {
index 5e57763..9875eee 100644 (file)
@@ -23,7 +23,6 @@
 #include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/StringSet.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/BinaryFormat/COFF.h"
 #include "llvm/Support/BinaryStreamReader.h"
 #include "llvm/Support/Debug.h"
index c1f2b0a..33b5500 100644 (file)
@@ -63,7 +63,6 @@
 #include "lldb/Utility/Status.h"
 #include "lldb/lldb-private-forward.h"
 #include "llvm/ADT/SmallString.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/Errno.h"
 #include "llvm/Support/FileSystem.h"
 
index f0f5deb..2291856 100644 (file)
@@ -20,7 +20,6 @@
 #include "lldb/Utility/Log.h"
 #include "lldb/Utility/Stream.h"
 
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Support/Casting.h"
 #include "llvm/Support/ConvertUTF.h"
 #include "llvm/Support/Errno.h"
index a781c63..a62300d 100644 (file)
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/LoongArchTargetParser.h"
-#include "llvm/ADT/StringSwitch.h"
 
 using namespace llvm;
 using namespace llvm::LoongArch;
index 2570a91..65e72e0 100644 (file)
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SetOperations.h"
 #include "llvm/ADT/SetVector.h"
-#include "llvm/ADT/StringSwitch.h"
 #include "llvm/Analysis/CallGraph.h"
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/DerivedTypes.h"