C++: Remove unneeded includes

This commit is contained in:
Calum Grant
2024-01-17 14:34:28 +00:00
parent 51c5afff8b
commit d57fc3d7db
3 changed files with 6 additions and 15 deletions

View File

@@ -5,7 +5,6 @@ cc_library(
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
"@absl//absl/strings", "@absl//absl/strings",
"@binlog",
"@fmt", "@fmt",
"@json", "@json",
], ],

View File

@@ -1,19 +1,5 @@
#pragma once #pragma once
#include <binlog/binlog.hpp>
#include <string>
#include <vector>
#include <unordered_map>
#include <optional>
#include <cassert>
#include <fstream>
#include <filesystem>
#include <sstream>
#include <mutex>
#include <fmt/format.h>
#include <fmt/chrono.h>
#include "swift/logging/Formatters.h"
#include "shared/cpp/Diagnostics.h" #include "shared/cpp/Diagnostics.h"
namespace codeql { namespace codeql {
@@ -29,4 +15,5 @@ constexpr Diagnostic internalError{
"\n" "\n"
"[1]: https://github.com/github/codeql/issues/new?labels=bug&template=ql---general.md", "[1]: https://github.com/github/codeql/issues/new?labels=bug&template=ql---general.md",
.severity = Diagnostic::Severity::warning}; .severity = Diagnostic::Severity::warning};
} // namespace codeql } // namespace codeql

View File

@@ -6,6 +6,11 @@
#include <regex> #include <regex>
#include <vector> #include <vector>
#include <fmt/format.h>
#include <fmt/chrono.h>
#include "swift/logging/Formatters.h"
#include <binlog/binlog.hpp> #include <binlog/binlog.hpp>
#include <binlog/TextOutputStream.hpp> #include <binlog/TextOutputStream.hpp>
#include <binlog/EventFilter.hpp> #include <binlog/EventFilter.hpp>