diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 800d37875..9d1085bab 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -50,8 +50,6 @@ quick_lint_js_add_executable( quick-lint-js-test quick-lint-js/array.h quick-lint-js/characters.h - quick-lint-js/diag-collector.cpp - quick-lint-js/diag-collector.h quick-lint-js/diag-matcher.cpp quick-lint-js/diag-matcher.h quick-lint-js/diagnostic-assertion.cpp diff --git a/test/quick-lint-js/diag-collector.cpp b/test/quick-lint-js/diag-collector.cpp deleted file mode 100644 index 9916d1077..000000000 --- a/test/quick-lint-js/diag-collector.cpp +++ /dev/null @@ -1,66 +0,0 @@ -// Copyright (C) 2020 Matthew "strager" Glazar -// See end of file for extended copyright information. - -#include -#include -#include -#include - -namespace quick_lint_js { -void diag_collector_static_assertions() { -#define QLJS_DIAG_TYPE_NAME(Diag_Type) \ - static_assert(sizeof(Diag_Collector::Diag::storage_) >= sizeof(Diag_Type), \ - "storage should be big enough to fit " #Diag_Type); \ - static_assert(std::is_trivially_copyable_v, \ - #Diag_Type " should be trivially copyable"); - QLJS_X_DIAG_TYPE_NAMES -#undef QLJS_DIAG_TYPE_NAME -} - -void Diag_Collector::report_impl(Diag_Type type, void *diag) { - this->errors.push_back(Diag(type, diag)); -} - -#define QLJS_DIAG_TYPE_NAME(Type) \ - Diag_Collector::Diag::Diag(const Type &data) : Diag(Diag_Type::Type, &data) {} -QLJS_X_DIAG_TYPE_NAMES -#undef QLJS_DIAG_TYPE_NAME - -Diag_Type Diag_Collector::Diag::type() const { return this->type_; } - -const void *Diag_Collector::Diag::data() const { return &this->storage_; } - -Diag_Collector::Diag::Diag(Diag_Type type, const void *data) { - static constexpr unsigned char diag_sizes[] = { -#define QLJS_DIAG_TYPE_NAME(Diag_Type) sizeof(Diag_Type), - QLJS_X_DIAG_TYPE_NAMES -#undef QLJS_DIAG_TYPE_NAME - }; - - this->type_ = type; - std::memcpy(&this->storage_, data, - diag_sizes[static_cast(type)]); -} - -void PrintTo(const Diag_Collector::Diag &e, std::ostream *out) { - *out << e.type_; -} -} - -// quick-lint-js finds bugs in JavaScript programs. -// Copyright (C) 2020 Matthew "strager" Glazar -// -// This file is part of quick-lint-js. -// -// quick-lint-js is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// quick-lint-js is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with quick-lint-js. If not, see . diff --git a/test/quick-lint-js/diag-collector.h b/test/quick-lint-js/diag-collector.h deleted file mode 100644 index 6ddaf60bb..000000000 --- a/test/quick-lint-js/diag-collector.h +++ /dev/null @@ -1,63 +0,0 @@ -// Copyright (C) 2020 Matthew "strager" Glazar -// See end of file for extended copyright information. - -#pragma once - -#include -#include -#include -#include -#include -#include -#include -#include - -namespace quick_lint_js { -struct Diag_Collector : public Diag_Reporter { - void report_impl(Diag_Type type, void *diag) override; - - // Like std::variant<(diag types)>, but with much faster compilation. - class Diag { - public: -#define QLJS_DIAG_TYPE_NAME(name) explicit Diag(const name &); - QLJS_X_DIAG_TYPE_NAMES -#undef QLJS_DIAG_TYPE_NAME - - Diag_Type type() const; - const void *data() const; - - friend void PrintTo(const Diag &, std::ostream *); - - private: - explicit Diag(Diag_Type type, const void *data); - - Diag_Type type_; - alignas(std::uint64_t) std::uint8_t storage_[56]; - - friend void diag_collector_static_assertions(); - friend Diag_Collector; - }; - - std::vector errors; -}; - -void PrintTo(const Diag_Collector::Diag &, std::ostream *); -} - -// quick-lint-js finds bugs in JavaScript programs. -// Copyright (C) 2020 Matthew "strager" Glazar -// -// This file is part of quick-lint-js. -// -// quick-lint-js is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// quick-lint-js is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with quick-lint-js. If not, see . diff --git a/test/quick-lint-js/diag-matcher.cpp b/test/quick-lint-js/diag-matcher.cpp index 216c9a6b5..4e4d678ab 100644 --- a/test/quick-lint-js/diag-matcher.cpp +++ b/test/quick-lint-js/diag-matcher.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/quick-lint-js/diag-matcher.h b/test/quick-lint-js/diag-matcher.h index 25b716fdf..405c6549d 100644 --- a/test/quick-lint-js/diag-matcher.h +++ b/test/quick-lint-js/diag-matcher.h @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/test/quick-lint-js/diagnostic-assertion.h b/test/quick-lint-js/diagnostic-assertion.h index 960cf3665..37a6b0f0a 100644 --- a/test/quick-lint-js/diagnostic-assertion.h +++ b/test/quick-lint-js/diagnostic-assertion.h @@ -9,7 +9,6 @@ #include #include #include -#include #include #include #include diff --git a/test/quick-lint-js/failing-diag-reporter.cpp b/test/quick-lint-js/failing-diag-reporter.cpp index dbfe4dc34..aebd941c9 100644 --- a/test/quick-lint-js/failing-diag-reporter.cpp +++ b/test/quick-lint-js/failing-diag-reporter.cpp @@ -2,7 +2,6 @@ // See end of file for extended copyright information. #include -#include #include namespace quick_lint_js { diff --git a/test/quick-lint-js/parse-support.h b/test/quick-lint-js/parse-support.h index 6c13aadb7..fbb31fc75 100644 --- a/test/quick-lint-js/parse-support.h +++ b/test/quick-lint-js/parse-support.h @@ -11,7 +11,6 @@ #include #include #include -#include #include #include #include diff --git a/test/quick-lint-js/spy-visitor.h b/test/quick-lint-js/spy-visitor.h index 0a9a4aee5..f7ef2894d 100644 --- a/test/quick-lint-js/spy-visitor.h +++ b/test/quick-lint-js/spy-visitor.h @@ -5,7 +5,6 @@ #include #include -#include #include #include #include diff --git a/test/quick-lint-js/variable-analyzer-support.cpp b/test/quick-lint-js/variable-analyzer-support.cpp index 4b8fa0022..a075b74ad 100644 --- a/test/quick-lint-js/variable-analyzer-support.cpp +++ b/test/quick-lint-js/variable-analyzer-support.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-buffering-diag-reporter.cpp b/test/test-buffering-diag-reporter.cpp index 1af83d7d3..0904dbb26 100644 --- a/test/test-buffering-diag-reporter.cpp +++ b/test/test-buffering-diag-reporter.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-configuration.cpp b/test/test-configuration.cpp index 2499223a8..d384b0f39 100644 --- a/test/test-configuration.cpp +++ b/test/test-configuration.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-diag-list.cpp b/test/test-diag-list.cpp index 76874ef0c..96db2d4c6 100644 --- a/test/test-diag-list.cpp +++ b/test/test-diag-list.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-lex.cpp b/test/test-lex.cpp index a73a2105e..f1766c9a8 100644 --- a/test/test-lex.cpp +++ b/test/test-lex.cpp @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-class.cpp b/test/test-parse-class.cpp index 232840b3d..7a323fb61 100644 --- a/test/test-parse-class.cpp +++ b/test/test-parse-class.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-conditional-expression.cpp b/test/test-parse-conditional-expression.cpp index ed1d56a6f..93db8202f 100644 --- a/test/test-parse-conditional-expression.cpp +++ b/test/test-parse-conditional-expression.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-expression-jsx.cpp b/test/test-parse-expression-jsx.cpp index 3164bfd5d..8e3e753da 100644 --- a/test/test-parse-expression-jsx.cpp +++ b/test/test-parse-expression-jsx.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-expression-statement.cpp b/test/test-parse-expression-statement.cpp index f2b7ec7b5..23ee2eb38 100644 --- a/test/test-parse-expression-statement.cpp +++ b/test/test-parse-expression-statement.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-expression-typescript.cpp b/test/test-parse-expression-typescript.cpp index fa9e89158..e444979d7 100644 --- a/test/test-parse-expression-typescript.cpp +++ b/test/test-parse-expression-typescript.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-expression.cpp b/test/test-parse-expression.cpp index 098ddd894..b9573297c 100644 --- a/test/test-parse-expression.cpp +++ b/test/test-parse-expression.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-function.cpp b/test/test-parse-function.cpp index 79e9ca668..63ab21976 100644 --- a/test/test-parse-function.cpp +++ b/test/test-parse-function.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-jsx.cpp b/test/test-parse-jsx.cpp index 023f00c46..ce83e039b 100644 --- a/test/test-parse-jsx.cpp +++ b/test/test-parse-jsx.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-loop.cpp b/test/test-parse-loop.cpp index 816f7c989..d4b24dc0a 100644 --- a/test/test-parse-loop.cpp +++ b/test/test-parse-loop.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-module.cpp b/test/test-parse-module.cpp index 8e1400ccd..06d610c0b 100644 --- a/test/test-parse-module.cpp +++ b/test/test-parse-module.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-statement.cpp b/test/test-parse-statement.cpp index a741f0afc..2a6bda7fe 100644 --- a/test/test-parse-statement.cpp +++ b/test/test-parse-statement.cpp @@ -8,7 +8,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-ambiguous.cpp b/test/test-parse-typescript-ambiguous.cpp index 378545bf8..2af34396b 100644 --- a/test/test-parse-typescript-ambiguous.cpp +++ b/test/test-parse-typescript-ambiguous.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-angle-type-assertion.cpp b/test/test-parse-typescript-angle-type-assertion.cpp index 818267133..cd61590b8 100644 --- a/test/test-parse-typescript-angle-type-assertion.cpp +++ b/test/test-parse-typescript-angle-type-assertion.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-class.cpp b/test/test-parse-typescript-class.cpp index 355374193..66eea17ce 100644 --- a/test/test-parse-typescript-class.cpp +++ b/test/test-parse-typescript-class.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-class.cpp b/test/test-parse-typescript-declare-class.cpp index 7c90ebb2e..d83e96f15 100644 --- a/test/test-parse-typescript-declare-class.cpp +++ b/test/test-parse-typescript-declare-class.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-function.cpp b/test/test-parse-typescript-declare-function.cpp index ceb0ac8ed..92180b2ce 100644 --- a/test/test-parse-typescript-declare-function.cpp +++ b/test/test-parse-typescript-declare-function.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-interface.cpp b/test/test-parse-typescript-declare-interface.cpp index b8d6d5601..8192c23c1 100644 --- a/test/test-parse-typescript-declare-interface.cpp +++ b/test/test-parse-typescript-declare-interface.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-module.cpp b/test/test-parse-typescript-declare-module.cpp index 29605b252..fdf43cfb5 100644 --- a/test/test-parse-typescript-declare-module.cpp +++ b/test/test-parse-typescript-declare-module.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-namespace.cpp b/test/test-parse-typescript-declare-namespace.cpp index d1a5bbcdb..05a5533e4 100644 --- a/test/test-parse-typescript-declare-namespace.cpp +++ b/test/test-parse-typescript-declare-namespace.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-tsmodule.cpp b/test/test-parse-typescript-declare-tsmodule.cpp index 59d1f03da..42e7dba81 100644 --- a/test/test-parse-typescript-declare-tsmodule.cpp +++ b/test/test-parse-typescript-declare-tsmodule.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-type-alias.cpp b/test/test-parse-typescript-declare-type-alias.cpp index 5158d16c6..ec9cef657 100644 --- a/test/test-parse-typescript-declare-type-alias.cpp +++ b/test/test-parse-typescript-declare-type-alias.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-declare-var.cpp b/test/test-parse-typescript-declare-var.cpp index 8fe70ec1e..8c0cf005e 100644 --- a/test/test-parse-typescript-declare-var.cpp +++ b/test/test-parse-typescript-declare-var.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-enum.cpp b/test/test-parse-typescript-enum.cpp index f4769a300..526f9d1aa 100644 --- a/test/test-parse-typescript-enum.cpp +++ b/test/test-parse-typescript-enum.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-export-declare.cpp b/test/test-parse-typescript-export-declare.cpp index b6d12b854..22ff27293 100644 --- a/test/test-parse-typescript-export-declare.cpp +++ b/test/test-parse-typescript-export-declare.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-function.cpp b/test/test-parse-typescript-function.cpp index 283485a84..fb8a1a065 100644 --- a/test/test-parse-typescript-function.cpp +++ b/test/test-parse-typescript-function.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-generic-arrow.cpp b/test/test-parse-typescript-generic-arrow.cpp index 6f426b7d9..4e3dca88c 100644 --- a/test/test-parse-typescript-generic-arrow.cpp +++ b/test/test-parse-typescript-generic-arrow.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-generic.cpp b/test/test-parse-typescript-generic.cpp index bf104ec09..fc755e0c0 100644 --- a/test/test-parse-typescript-generic.cpp +++ b/test/test-parse-typescript-generic.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-interface.cpp b/test/test-parse-typescript-interface.cpp index 8c50f00a3..ea54bbe19 100644 --- a/test/test-parse-typescript-interface.cpp +++ b/test/test-parse-typescript-interface.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-module.cpp b/test/test-parse-typescript-module.cpp index 691bbf1ec..b931b6a79 100644 --- a/test/test-parse-typescript-module.cpp +++ b/test/test-parse-typescript-module.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-namespace.cpp b/test/test-parse-typescript-namespace.cpp index 3272d5ea9..e5d2d0167 100644 --- a/test/test-parse-typescript-namespace.cpp +++ b/test/test-parse-typescript-namespace.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-object-type.cpp b/test/test-parse-typescript-object-type.cpp index 1f6aa830e..447ff5c2a 100644 --- a/test/test-parse-typescript-object-type.cpp +++ b/test/test-parse-typescript-object-type.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-statement.cpp b/test/test-parse-typescript-statement.cpp index 55c30723d..0b228b0bd 100644 --- a/test/test-parse-typescript-statement.cpp +++ b/test/test-parse-typescript-statement.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-this-parameters.cpp b/test/test-parse-typescript-this-parameters.cpp index ff60cfaf6..a613ff477 100644 --- a/test/test-parse-typescript-this-parameters.cpp +++ b/test/test-parse-typescript-this-parameters.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-type-alias.cpp b/test/test-parse-typescript-type-alias.cpp index 0d9220ffb..34745806e 100644 --- a/test/test-parse-typescript-type-alias.cpp +++ b/test/test-parse-typescript-type-alias.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-type.cpp b/test/test-parse-typescript-type.cpp index bc8778c4e..83ce4358e 100644 --- a/test/test-parse-typescript-type.cpp +++ b/test/test-parse-typescript-type.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript-var.cpp b/test/test-parse-typescript-var.cpp index e178f10bc..a5613b94c 100644 --- a/test/test-parse-typescript-var.cpp +++ b/test/test-parse-typescript-var.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-typescript.cpp b/test/test-parse-typescript.cpp index 00dca14d6..f15825e5f 100644 --- a/test/test-parse-typescript.cpp +++ b/test/test-parse-typescript.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-var.cpp b/test/test-parse-var.cpp index c697c74a2..60b58c347 100644 --- a/test/test-parse-var.cpp +++ b/test/test-parse-var.cpp @@ -10,7 +10,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse-warning.cpp b/test/test-parse-warning.cpp index 932072ccb..54abe4976 100644 --- a/test/test-parse-warning.cpp +++ b/test/test-parse-warning.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-parse.cpp b/test/test-parse.cpp index 47b5f741d..b4a874729 100644 --- a/test/test-parse.cpp +++ b/test/test-parse.cpp @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-arguments.cpp b/test/test-variable-analyzer-arguments.cpp index 5b62afc61..f784996ef 100644 --- a/test/test-variable-analyzer-arguments.cpp +++ b/test/test-variable-analyzer-arguments.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-assign.cpp b/test/test-variable-analyzer-assign.cpp index 1593d8262..3b0f4d90d 100644 --- a/test/test-variable-analyzer-assign.cpp +++ b/test/test-variable-analyzer-assign.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-class.cpp b/test/test-variable-analyzer-class.cpp index d314a6226..73f8f477e 100644 --- a/test/test-variable-analyzer-class.cpp +++ b/test/test-variable-analyzer-class.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-declare.cpp b/test/test-variable-analyzer-declare.cpp index 806aa644f..bed057dd9 100644 --- a/test/test-variable-analyzer-declare.cpp +++ b/test/test-variable-analyzer-declare.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-delete.cpp b/test/test-variable-analyzer-delete.cpp index 93e7b5b86..47cd5af84 100644 --- a/test/test-variable-analyzer-delete.cpp +++ b/test/test-variable-analyzer-delete.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-enum.cpp b/test/test-variable-analyzer-enum.cpp index dc19fd984..ee242df70 100644 --- a/test/test-variable-analyzer-enum.cpp +++ b/test/test-variable-analyzer-enum.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-eval.cpp b/test/test-variable-analyzer-eval.cpp index f7349fd38..31595be0d 100644 --- a/test/test-variable-analyzer-eval.cpp +++ b/test/test-variable-analyzer-eval.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-globals.cpp b/test/test-variable-analyzer-globals.cpp index 79591d833..697f04093 100644 --- a/test/test-variable-analyzer-globals.cpp +++ b/test/test-variable-analyzer-globals.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-interface.cpp b/test/test-variable-analyzer-interface.cpp index 47f819122..189dd9530 100644 --- a/test/test-variable-analyzer-interface.cpp +++ b/test/test-variable-analyzer-interface.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-module.cpp b/test/test-variable-analyzer-module.cpp index 699551a3f..8f97268af 100644 --- a/test/test-variable-analyzer-module.cpp +++ b/test/test-variable-analyzer-module.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-multiple-declarations.cpp b/test/test-variable-analyzer-multiple-declarations.cpp index 4ce7ed2bc..a998ddd3c 100644 --- a/test/test-variable-analyzer-multiple-declarations.cpp +++ b/test/test-variable-analyzer-multiple-declarations.cpp @@ -5,7 +5,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-namespace.cpp b/test/test-variable-analyzer-namespace.cpp index 67b006a65..eb890e2d6 100644 --- a/test/test-variable-analyzer-namespace.cpp +++ b/test/test-variable-analyzer-namespace.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-parse.cpp b/test/test-variable-analyzer-parse.cpp index 667d575eb..b7856ed8e 100644 --- a/test/test-variable-analyzer-parse.cpp +++ b/test/test-variable-analyzer-parse.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-type.cpp b/test/test-variable-analyzer-type.cpp index dcdee5c8d..683ec7c6f 100644 --- a/test/test-variable-analyzer-type.cpp +++ b/test/test-variable-analyzer-type.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-typeof.cpp b/test/test-variable-analyzer-typeof.cpp index 72672fc8b..b205036e7 100644 --- a/test/test-variable-analyzer-typeof.cpp +++ b/test/test-variable-analyzer-typeof.cpp @@ -3,7 +3,6 @@ #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer-unused-shadow.cpp b/test/test-variable-analyzer-unused-shadow.cpp index 16f55f7ea..8e20aef57 100644 --- a/test/test-variable-analyzer-unused-shadow.cpp +++ b/test/test-variable-analyzer-unused-shadow.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/test/test-variable-analyzer.cpp b/test/test-variable-analyzer.cpp index c072bf1b6..ce29647fd 100644 --- a/test/test-variable-analyzer.cpp +++ b/test/test-variable-analyzer.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include