aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/JSONCompilationDatabase.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-31 15:03:56 -0700
committerGitHub <noreply@github.com>2025-05-31 15:03:56 -0700
commit2c855e629c9b56830d41fcc81e511e4361323d3b (patch)
tree01ed566067b47cb64ba348ea93f20762516f6ff4 /clang/lib/Tooling/JSONCompilationDatabase.cpp
parent52e3b100d4ed695af47cb08e756b30950af52d6a (diff)
downloadllvm-2c855e629c9b56830d41fcc81e511e4361323d3b.zip
llvm-2c855e629c9b56830d41fcc81e511e4361323d3b.tar.gz
llvm-2c855e629c9b56830d41fcc81e511e4361323d3b.tar.bz2
[Tooling] Remove unused includes (NFC) (#142257)
These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-specific build failures.
Diffstat (limited to 'clang/lib/Tooling/JSONCompilationDatabase.cpp')
-rw-r--r--clang/lib/Tooling/JSONCompilationDatabase.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/Tooling/JSONCompilationDatabase.cpp b/clang/lib/Tooling/JSONCompilationDatabase.cpp
index 5ecba5d..31d3907 100644
--- a/clang/lib/Tooling/JSONCompilationDatabase.cpp
+++ b/clang/lib/Tooling/JSONCompilationDatabase.cpp
@@ -15,12 +15,9 @@
#include "clang/Tooling/CompilationDatabase.h"
#include "clang/Tooling/CompilationDatabasePluginRegistry.h"
#include "clang/Tooling/Tooling.h"
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Allocator.h"
-#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/MemoryBuffer.h"
@@ -30,13 +27,11 @@
#include "llvm/Support/YAMLParser.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Host.h"
-#include "llvm/TargetParser/Triple.h"
#include <cassert>
#include <memory>
#include <optional>
#include <string>
#include <system_error>
-#include <tuple>
#include <utility>
#include <vector>