aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-12-03 16:24:43 -0800
committerKazu Hirata <kazu@google.com>2023-12-03 16:24:43 -0800
commit57eb4826e5b4c99751c6eff4e4fc50b55919e5ae (patch)
treeedd3a10e57f7f368a580b7a16bac0596f156a732 /llvm/tools
parent4042fb8ce47947cc4d16985035f4106feb386ba1 (diff)
downloadllvm-57eb4826e5b4c99751c6eff4e4fc50b55919e5ae.zip
llvm-57eb4826e5b4c99751c6eff4e4fc50b55919e5ae.tar.gz
llvm-57eb4826e5b4c99751c6eff4e4fc50b55919e5ae.tar.bz2
[llvm] Stop including string (NFC)
Identified with clangd.
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h1
-rw-r--r--llvm/tools/llvm-exegesis/lib/Analysis.h1
-rw-r--r--llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp1
-rw-r--r--llvm/tools/llvm-objcopy/llvm-objcopy.cpp1
-rw-r--r--llvm/tools/llvm-pdbutil/DumpOutputStyle.h2
-rw-r--r--llvm/tools/llvm-pdbutil/ExplainOutputStyle.h2
-rw-r--r--llvm/tools/llvm-rc/ResourceScriptToken.h1
-rw-r--r--llvm/tools/llvm-readobj/llvm-readobj.h1
8 files changed, 0 insertions, 10 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h
index f8f0966..55e628a 100644
--- a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h
+++ b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h
@@ -38,7 +38,6 @@
#include <functional>
#include <set>
-#include <string>
using Instr = llvm::cfi_verify::FileAnalysis::Instr;
diff --git a/llvm/tools/llvm-exegesis/lib/Analysis.h b/llvm/tools/llvm-exegesis/lib/Analysis.h
index fb9417b..a0f22ba 100644
--- a/llvm/tools/llvm-exegesis/lib/Analysis.h
+++ b/llvm/tools/llvm-exegesis/lib/Analysis.h
@@ -24,7 +24,6 @@
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <set>
-#include <string>
namespace llvm {
namespace exegesis {
diff --git a/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp b/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
index 636dd11..bb1b3a9 100644
--- a/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
+++ b/llvm/tools/llvm-exegesis/lib/SnippetRepetitor.cpp
@@ -7,7 +7,6 @@
//===----------------------------------------------------------------------===//
#include <array>
-#include <string>
#include "SnippetRepetitor.h"
#include "Target.h"
diff --git a/llvm/tools/llvm-objcopy/llvm-objcopy.cpp b/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
index 2afa9760..558359e 100644
--- a/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
+++ b/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
@@ -56,7 +56,6 @@
#include <cassert>
#include <cstdlib>
#include <memory>
-#include <string>
#include <system_error>
#include <utility>
diff --git a/llvm/tools/llvm-pdbutil/DumpOutputStyle.h b/llvm/tools/llvm-pdbutil/DumpOutputStyle.h
index a0c9530..6714a6a 100644
--- a/llvm/tools/llvm-pdbutil/DumpOutputStyle.h
+++ b/llvm/tools/llvm-pdbutil/DumpOutputStyle.h
@@ -17,8 +17,6 @@
#include "llvm/DebugInfo/PDB/Native/LinePrinter.h"
#include "llvm/DebugInfo/PDB/Native/RawConstants.h"
-#include <string>
-
namespace llvm {
namespace object {
class COFFObjectFile;
diff --git a/llvm/tools/llvm-pdbutil/ExplainOutputStyle.h b/llvm/tools/llvm-pdbutil/ExplainOutputStyle.h
index 499f2a8..84b4a7e 100644
--- a/llvm/tools/llvm-pdbutil/ExplainOutputStyle.h
+++ b/llvm/tools/llvm-pdbutil/ExplainOutputStyle.h
@@ -13,8 +13,6 @@
#include "llvm/DebugInfo/PDB/Native/LinePrinter.h"
-#include <string>
-
namespace llvm {
namespace pdb {
diff --git a/llvm/tools/llvm-rc/ResourceScriptToken.h b/llvm/tools/llvm-rc/ResourceScriptToken.h
index cc8ca48..29f7502 100644
--- a/llvm/tools/llvm-rc/ResourceScriptToken.h
+++ b/llvm/tools/llvm-rc/ResourceScriptToken.h
@@ -29,7 +29,6 @@
#include <cstdint>
#include <map>
-#include <string>
#include <vector>
namespace llvm {
diff --git a/llvm/tools/llvm-readobj/llvm-readobj.h b/llvm/tools/llvm-readobj/llvm-readobj.h
index 5a9fe28..532e43d 100644
--- a/llvm/tools/llvm-readobj/llvm-readobj.h
+++ b/llvm/tools/llvm-readobj/llvm-readobj.h
@@ -16,7 +16,6 @@
#include "llvm/Support/Compiler.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/ErrorOr.h"
-#include <string>
namespace llvm {
namespace object {