diff options
author | Alexander Lohnau <alexander.lohnau@gmx.de> | 2024-02-05 19:41:55 +0100 |
---|---|---|
committer | Alexander Lohnau <alexander.lohnau@gmx.de> | 2024-02-11 14:34:36 +0100 |
commit | 05a3b32a847074f146d30a58e74087c3b47abafa (patch) | |
tree | 5dcbbf3ceac36cf476938844efa8edfb78c75826 | |
parent | 8a65ebb16ddaf8179d945f8f1b77b91cb78c165c (diff) |
Clean up some further unneeded includes
36 files changed, 0 insertions, 37 deletions
diff --git a/src/AccessSpecifierManager.cpp b/src/AccessSpecifierManager.cpp index 5b2a29c4..061d2a39 100644 --- a/src/AccessSpecifierManager.cpp +++ b/src/AccessSpecifierManager.cpp @@ -9,7 +9,6 @@ #include "AccessSpecifierManager.h" #include "ClazyContext.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "Utils.h" #include <clang/AST/DeclBase.h> diff --git a/src/ContextUtils.cpp b/src/ContextUtils.cpp index 5fd20561..f30c4cb6 100644 --- a/src/ContextUtils.cpp +++ b/src/ContextUtils.cpp @@ -5,7 +5,6 @@ */ #include "ContextUtils.h" -#include "SourceCompatibilityHelpers.h" #include "TypeUtils.h" #include "clazy_stl.h" diff --git a/src/checkbase.cpp b/src/checkbase.cpp index 6531f7e0..1fef0c96 100644 --- a/src/checkbase.cpp +++ b/src/checkbase.cpp @@ -9,7 +9,6 @@ #include "checkbase.h" #include "ClazyContext.h" -#include "SourceCompatibilityHelpers.h" #include "SuppressionManager.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/qstring-arg.cpp b/src/checks/level0/qstring-arg.cpp index 98b3a663..b90a637a 100644 --- a/src/checks/level0/qstring-arg.cpp +++ b/src/checks/level0/qstring-arg.cpp @@ -8,7 +8,6 @@ #include "ClazyContext.h" #include "HierarchyUtils.h" #include "PreProcessorVisitor.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/qstring-insensitive-allocation.cpp b/src/checks/level0/qstring-insensitive-allocation.cpp index 0cb2b402..7001b4a6 100644 --- a/src/checks/level0/qstring-insensitive-allocation.cpp +++ b/src/checks/level0/qstring-insensitive-allocation.cpp @@ -5,7 +5,6 @@ */ #include "qstring-insensitive-allocation.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/qstring-ref.cpp b/src/checks/level0/qstring-ref.cpp index c3544a72..5d98525f 100644 --- a/src/checks/level0/qstring-ref.cpp +++ b/src/checks/level0/qstring-ref.cpp @@ -8,7 +8,6 @@ #include "ClazyContext.h" #include "FixItUtils.h" #include "HierarchyUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/temporary-iterator.cpp b/src/checks/level0/temporary-iterator.cpp index bf6451a0..cde2cfcf 100644 --- a/src/checks/level0/temporary-iterator.cpp +++ b/src/checks/level0/temporary-iterator.cpp @@ -9,7 +9,6 @@ #include "temporary-iterator.h" #include "ClazyContext.h" #include "HierarchyUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/unused-non-trivial-variable.cpp b/src/checks/level0/unused-non-trivial-variable.cpp index 9b0045f8..1f450f02 100644 --- a/src/checks/level0/unused-non-trivial-variable.cpp +++ b/src/checks/level0/unused-non-trivial-variable.cpp @@ -9,7 +9,6 @@ #include "ContextUtils.h" #include "HierarchyUtils.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" #include "clazy_stl.h" diff --git a/src/checks/level0/wrong-qglobalstatic.cpp b/src/checks/level0/wrong-qglobalstatic.cpp index cb134791..fd4b9a92 100644 --- a/src/checks/level0/wrong-qglobalstatic.cpp +++ b/src/checks/level0/wrong-qglobalstatic.cpp @@ -7,7 +7,6 @@ #include "wrong-qglobalstatic.h" #include "MacroUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TemplateUtils.h" diff --git a/src/checks/level1/auto-unexpected-qstringbuilder.cpp b/src/checks/level1/auto-unexpected-qstringbuilder.cpp index ec2f2865..83b0e381 100644 --- a/src/checks/level1/auto-unexpected-qstringbuilder.cpp +++ b/src/checks/level1/auto-unexpected-qstringbuilder.cpp @@ -7,7 +7,6 @@ #include "auto-unexpected-qstringbuilder.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" diff --git a/src/checks/level1/detaching-temporary.cpp b/src/checks/level1/detaching-temporary.cpp index f07acbd8..f1df6c9d 100644 --- a/src/checks/level1/detaching-temporary.cpp +++ b/src/checks/level1/detaching-temporary.cpp @@ -9,7 +9,6 @@ #include "detaching-temporary.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "checkbase.h" diff --git a/src/checks/level1/foreach.cpp b/src/checks/level1/foreach.cpp index 2527ff71..e3fbf04a 100644 --- a/src/checks/level1/foreach.cpp +++ b/src/checks/level1/foreach.cpp @@ -12,7 +12,6 @@ #include "HierarchyUtils.h" #include "PreProcessorVisitor.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" #include "Utils.h" diff --git a/src/checks/level1/incorrect-emit.cpp b/src/checks/level1/incorrect-emit.cpp index 1ea00667..02902b3b 100644 --- a/src/checks/level1/incorrect-emit.cpp +++ b/src/checks/level1/incorrect-emit.cpp @@ -8,7 +8,6 @@ #include "AccessSpecifierManager.h" #include "ClazyContext.h" #include "HierarchyUtils.h" -#include "SourceCompatibilityHelpers.h" #include "Utils.h" #include <clang/AST/DeclCXX.h> diff --git a/src/checks/level1/non-pod-global-static.cpp b/src/checks/level1/non-pod-global-static.cpp index f2781ecb..57b19b65 100644 --- a/src/checks/level1/non-pod-global-static.cpp +++ b/src/checks/level1/non-pod-global-static.cpp @@ -10,7 +10,6 @@ #include "non-pod-global-static.h" #include "ClazyContext.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "clazy_stl.h" #include <clang/AST/Decl.h> diff --git a/src/checks/level1/qdeleteall.cpp b/src/checks/level1/qdeleteall.cpp index 40ff5bb4..38ae3a6d 100644 --- a/src/checks/level1/qdeleteall.cpp +++ b/src/checks/level1/qdeleteall.cpp @@ -8,7 +8,6 @@ #include "ClazyContext.h" #include "HierarchyUtils.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include <clang/AST/Decl.h> diff --git a/src/checks/level1/qhash-namespace.cpp b/src/checks/level1/qhash-namespace.cpp index a091b556..dbf65aa1 100644 --- a/src/checks/level1/qhash-namespace.cpp +++ b/src/checks/level1/qhash-namespace.cpp @@ -8,7 +8,6 @@ #include "ClazyContext.h" #include "ContextUtils.h" #include "PreProcessorVisitor.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include <clang/AST/Decl.h> diff --git a/src/checks/level1/range-loop-detach.cpp b/src/checks/level1/range-loop-detach.cpp index b04d85ae..1bfd87e5 100644 --- a/src/checks/level1/range-loop-detach.cpp +++ b/src/checks/level1/range-loop-detach.cpp @@ -13,7 +13,6 @@ #include "LoopUtils.h" #include "PreProcessorVisitor.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StmtBodyRange.h" #include "TypeUtils.h" #include "Utils.h" diff --git a/src/checks/level1/range-loop-reference.cpp b/src/checks/level1/range-loop-reference.cpp index 34d48637..9ea8591d 100644 --- a/src/checks/level1/range-loop-reference.cpp +++ b/src/checks/level1/range-loop-reference.cpp @@ -12,7 +12,6 @@ #include "FixItUtils.h" #include "PreProcessorVisitor.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" diff --git a/src/checks/level1/rule-of-two-soft.cpp b/src/checks/level1/rule-of-two-soft.cpp index 2b5e5b4a..e2c972b4 100644 --- a/src/checks/level1/rule-of-two-soft.cpp +++ b/src/checks/level1/rule-of-two-soft.cpp @@ -5,7 +5,6 @@ */ #include "rule-of-two-soft.h" -#include "SourceCompatibilityHelpers.h" #include <clang/AST/Decl.h> #include <clang/AST/DeclCXX.h> diff --git a/src/checks/level2/base-class-event.cpp b/src/checks/level2/base-class-event.cpp index 18ae587f..661ceab0 100644 --- a/src/checks/level2/base-class-event.cpp +++ b/src/checks/level2/base-class-event.cpp @@ -7,7 +7,6 @@ #include "base-class-event.h" #include "HierarchyUtils.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "clazy_stl.h" #include <clang/AST/DeclCXX.h> diff --git a/src/checks/level2/copyable-polymorphic.cpp b/src/checks/level2/copyable-polymorphic.cpp index 667f32cc..d3295ca6 100644 --- a/src/checks/level2/copyable-polymorphic.cpp +++ b/src/checks/level2/copyable-polymorphic.cpp @@ -8,7 +8,6 @@ #include "AccessSpecifierManager.h" #include "ClazyContext.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" diff --git a/src/checks/level2/ctor-missing-parent-argument.cpp b/src/checks/level2/ctor-missing-parent-argument.cpp index aaf6bd70..e504ec63 100644 --- a/src/checks/level2/ctor-missing-parent-argument.cpp +++ b/src/checks/level2/ctor-missing-parent-argument.cpp @@ -6,7 +6,6 @@ #include "ctor-missing-parent-argument.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" diff --git a/src/checks/level2/function-args-by-ref.cpp b/src/checks/level2/function-args-by-ref.cpp index 57406334..b24b768f 100644 --- a/src/checks/level2/function-args-by-ref.cpp +++ b/src/checks/level2/function-args-by-ref.cpp @@ -10,7 +10,6 @@ #include "function-args-by-ref.h" #include "ClazyContext.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" #include "Utils.h" diff --git a/src/checks/level2/function-args-by-value.cpp b/src/checks/level2/function-args-by-value.cpp index cdd3d61f..3421afa1 100644 --- a/src/checks/level2/function-args-by-value.cpp +++ b/src/checks/level2/function-args-by-value.cpp @@ -7,7 +7,6 @@ #include "function-args-by-value.h" #include "ClazyContext.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TypeUtils.h" #include "Utils.h" diff --git a/src/checks/level2/global-const-char-pointer.cpp b/src/checks/level2/global-const-char-pointer.cpp index 22ab6eae..b31e0410 100644 --- a/src/checks/level2/global-const-char-pointer.cpp +++ b/src/checks/level2/global-const-char-pointer.cpp @@ -8,7 +8,6 @@ */ #include "global-const-char-pointer.h" -#include "SourceCompatibilityHelpers.h" #include <clang/AST/Decl.h> #include <clang/AST/DeclBase.h> diff --git a/src/checks/level2/implicit-casts.cpp b/src/checks/level2/implicit-casts.cpp index b04a5c19..e433de93 100644 --- a/src/checks/level2/implicit-casts.cpp +++ b/src/checks/level2/implicit-casts.cpp @@ -10,7 +10,6 @@ #include "implicit-casts.h" #include "ClazyContext.h" #include "HierarchyUtils.h" -#include "SourceCompatibilityHelpers.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level2/missing-qobject-macro.cpp b/src/checks/level2/missing-qobject-macro.cpp index c39287a6..eb866fb3 100644 --- a/src/checks/level2/missing-qobject-macro.cpp +++ b/src/checks/level2/missing-qobject-macro.cpp @@ -9,7 +9,6 @@ #include "FixItUtils.h" #include "PreProcessorVisitor.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include <clang/AST/DeclBase.h> #include <clang/AST/DeclCXX.h> diff --git a/src/checks/level2/missing-typeinfo.cpp b/src/checks/level2/missing-typeinfo.cpp index 3509fc8b..dfda1134 100644 --- a/src/checks/level2/missing-typeinfo.cpp +++ b/src/checks/level2/missing-typeinfo.cpp @@ -9,7 +9,6 @@ #include "missing-typeinfo.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TemplateUtils.h" #include "TypeUtils.h" diff --git a/src/checks/level2/qstring-allocations.cpp b/src/checks/level2/qstring-allocations.cpp index 0fb0f600..711d175f 100644 --- a/src/checks/level2/qstring-allocations.cpp +++ b/src/checks/level2/qstring-allocations.cpp @@ -12,7 +12,6 @@ #include "FixItUtils.h" #include "HierarchyUtils.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level2/rule-of-three.cpp b/src/checks/level2/rule-of-three.cpp index d31f2077..6996ee1e 100644 --- a/src/checks/level2/rule-of-three.cpp +++ b/src/checks/level2/rule-of-three.cpp @@ -6,7 +6,6 @@ #include "rule-of-three.h" #include "MacroUtils.h" -#include "SourceCompatibilityHelpers.h" #include "TypeUtils.h" #include "Utils.h" #include "clazy_stl.h" diff --git a/src/checks/level2/virtual-call-ctor.cpp b/src/checks/level2/virtual-call-ctor.cpp index 21289205..6e506ed8 100644 --- a/src/checks/level2/virtual-call-ctor.cpp +++ b/src/checks/level2/virtual-call-ctor.cpp @@ -9,7 +9,6 @@ #include "virtual-call-ctor.h" #include "ClazyContext.h" -#include "SourceCompatibilityHelpers.h" #include "clazy_stl.h" #include <clang/AST/DeclBase.h> diff --git a/src/checks/manuallevel/assert-with-side-effects.cpp b/src/checks/manuallevel/assert-with-side-effects.cpp index 234e0753..d5bcd554 100644 --- a/src/checks/manuallevel/assert-with-side-effects.cpp +++ b/src/checks/manuallevel/assert-with-side-effects.cpp @@ -9,7 +9,6 @@ #include "assert-with-side-effects.h" #include "MacroUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "clazy_stl.h" diff --git a/src/checks/manuallevel/isempty-vs-count.cpp b/src/checks/manuallevel/isempty-vs-count.cpp index 953ce70d..0c7e1d79 100644 --- a/src/checks/manuallevel/isempty-vs-count.cpp +++ b/src/checks/manuallevel/isempty-vs-count.cpp @@ -6,7 +6,6 @@ #include "isempty-vs-count.h" #include "QtUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include <clang/AST/DeclCXX.h> diff --git a/src/checks/manuallevel/qt6-fwd-fixes.cpp b/src/checks/manuallevel/qt6-fwd-fixes.cpp index 5ee9ce8b..7296f20e 100644 --- a/src/checks/manuallevel/qt6-fwd-fixes.cpp +++ b/src/checks/manuallevel/qt6-fwd-fixes.cpp @@ -8,7 +8,6 @@ #include "qt6-fwd-fixes.h" #include "ClazyContext.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "Utils.h" diff --git a/src/checks/manuallevel/qt6-header-fixes.cpp b/src/checks/manuallevel/qt6-header-fixes.cpp index 0c9cb48f..e10f9636 100644 --- a/src/checks/manuallevel/qt6-header-fixes.cpp +++ b/src/checks/manuallevel/qt6-header-fixes.cpp @@ -8,7 +8,6 @@ #include "qt6-header-fixes.h" #include "ClazyContext.h" #include "FixItUtils.h" -#include "SourceCompatibilityHelpers.h" #include "Utils.h" #include <clang/AST/Decl.h> diff --git a/src/checks/manuallevel/qvariant-template-instantiation.cpp b/src/checks/manuallevel/qvariant-template-instantiation.cpp index 0925d317..b823b6b0 100644 --- a/src/checks/manuallevel/qvariant-template-instantiation.cpp +++ b/src/checks/manuallevel/qvariant-template-instantiation.cpp @@ -8,7 +8,6 @@ */ #include "qvariant-template-instantiation.h" -#include "SourceCompatibilityHelpers.h" #include "StringUtils.h" #include "TemplateUtils.h" #include "clazy_stl.h" @@ -22,7 +21,6 @@ #include <llvm/Support/Casting.h> #include <ctype.h> -#include <memory> #include <vector> class ClazyContext; |