From 16f598c409bd12c1f512cb498087b91ce1acaa02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Fri, 19 Aug 2022 10:16:23 +0200 Subject: [PATCH] added missing `sstream` includes (#4381) --- cli/cmdlineparser.cpp | 1 + cli/cppcheckexecutor.cpp | 1 + cli/processexecutor.cpp | 1 + lib/checkcondition.cpp | 1 + lib/checkfunctions.cpp | 1 + lib/checkio.cpp | 1 + lib/checkother.cpp | 1 + lib/checktype.cpp | 1 + lib/checkunusedfunctions.cpp | 2 +- lib/clangimport.cpp | 1 + lib/cppcheck.cpp | 1 + lib/ctu.cpp | 1 + lib/errorlogger.cpp | 1 + lib/importproject.cpp | 2 +- lib/library.cpp | 1 + lib/mathlib.cpp | 1 + lib/preprocessor.cpp | 1 + lib/summaries.cpp | 1 + lib/suppressions.cpp | 1 + lib/symboldatabase.cpp | 1 + lib/templatesimplifier.cpp | 1 + lib/token.cpp | 1 + lib/tokenize.cpp | 1 + lib/valueflow.cpp | 1 + 24 files changed, 24 insertions(+), 2 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index bc8e5ec77..c25ba7c80 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include #ifdef HAVE_RULES diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 5e78cc7dc..0630eb29f 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -48,6 +48,7 @@ #include #include #include +#include #include #include diff --git a/cli/processexecutor.cpp b/cli/processexecutor.cpp index 4e5a904cc..1448a0bc3 100644 --- a/cli/processexecutor.cpp +++ b/cli/processexecutor.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/checkcondition.cpp b/lib/checkcondition.cpp index 1c88ba038..97e378cfe 100644 --- a/lib/checkcondition.cpp +++ b/lib/checkcondition.cpp @@ -39,6 +39,7 @@ #include #include #include +#include #include #include diff --git a/lib/checkfunctions.cpp b/lib/checkfunctions.cpp index 5236bb252..d9321a7c7 100644 --- a/lib/checkfunctions.cpp +++ b/lib/checkfunctions.cpp @@ -32,6 +32,7 @@ #include #include +#include #include #include diff --git a/lib/checkio.cpp b/lib/checkio.cpp index c3c347cc8..8541ef549 100644 --- a/lib/checkio.cpp +++ b/lib/checkio.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/checkother.cpp b/lib/checkother.cpp index d75f33f03..e9b582e5a 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include #include diff --git a/lib/checktype.cpp b/lib/checktype.cpp index 09f820881..58e3b51c6 100644 --- a/lib/checktype.cpp +++ b/lib/checktype.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include //--------------------------------------------------------------------------- diff --git a/lib/checkunusedfunctions.cpp b/lib/checkunusedfunctions.cpp index 0c8a7a0d9..aac2de59c 100644 --- a/lib/checkunusedfunctions.cpp +++ b/lib/checkunusedfunctions.cpp @@ -36,7 +36,7 @@ #include #include #include - +#include #include #include diff --git a/lib/clangimport.cpp b/lib/clangimport.cpp index a41f0ea41..5d7b54cce 100644 --- a/lib/clangimport.cpp +++ b/lib/clangimport.cpp @@ -37,6 +37,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/cppcheck.cpp b/lib/cppcheck.cpp index 047a834f1..951acb563 100644 --- a/lib/cppcheck.cpp +++ b/lib/cppcheck.cpp @@ -49,6 +49,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/ctu.cpp b/lib/ctu.cpp index b5e82f157..61c2cf716 100644 --- a/lib/ctu.cpp +++ b/lib/ctu.cpp @@ -34,6 +34,7 @@ #include #include // back_inserter #include +#include #include #include diff --git a/lib/errorlogger.cpp b/lib/errorlogger.cpp index b16f21a9b..16a487448 100644 --- a/lib/errorlogger.cpp +++ b/lib/errorlogger.cpp @@ -33,6 +33,7 @@ #include #include #include +#include #include #include diff --git a/lib/importproject.cpp b/lib/importproject.cpp index 424f65e6f..c403b2e42 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -32,7 +32,7 @@ #include // IWYU pragma: keep #include #include - +#include #include #include diff --git a/lib/library.cpp b/lib/library.cpp index 01f2c43ad..ba656b6ac 100644 --- a/lib/library.cpp +++ b/lib/library.cpp @@ -34,6 +34,7 @@ #include #include #include +#include #include #include diff --git a/lib/mathlib.cpp b/lib/mathlib.cpp index bf6c5fb83..607d2a0e2 100644 --- a/lib/mathlib.cpp +++ b/lib/mathlib.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include diff --git a/lib/preprocessor.cpp b/lib/preprocessor.cpp index bc03cc107..6c4d8ec98 100644 --- a/lib/preprocessor.cpp +++ b/lib/preprocessor.cpp @@ -31,6 +31,7 @@ #include #include // back_inserter #include +#include #include #include diff --git a/lib/summaries.cpp b/lib/summaries.cpp index 034af16a6..b793908d8 100644 --- a/lib/summaries.cpp +++ b/lib/summaries.cpp @@ -28,6 +28,7 @@ #include #include #include +#include #include diff --git a/lib/suppressions.cpp b/lib/suppressions.cpp index 26cdc16fc..69d110346 100644 --- a/lib/suppressions.cpp +++ b/lib/suppressions.cpp @@ -31,6 +31,7 @@ #include #include #include // std::bind, std::placeholders +#include #include diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 11a04d087..f3c6d3f96 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/templatesimplifier.cpp b/lib/templatesimplifier.cpp index 9d1e0c073..a9e5ec5d6 100644 --- a/lib/templatesimplifier.cpp +++ b/lib/templatesimplifier.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include diff --git a/lib/token.cpp b/lib/token.cpp index e044fea5e..63875adb5 100644 --- a/lib/token.cpp +++ b/lib/token.cpp @@ -40,6 +40,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 535afc48f..634a7c597 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -44,6 +44,7 @@ #include #include #include +#include #include #include #include diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index dbed0639f..6cf0f4f41 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -117,6 +117,7 @@ #include #include #include +#include #include #include #include