mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C++: Remove unneeded includes
This commit is contained in:
@@ -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",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user