Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Nov 17, 2023
1 parent 6e3ab14 commit 66479db
Show file tree
Hide file tree
Showing 62 changed files with 66 additions and 66 deletions.
4 changes: 2 additions & 2 deletions cli/cmdlineparser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
#include <cstdio>
#include <cstdlib> // EXIT_FAILURE
#include <cstring>
#include <fstream> // IWYU pragma: keep
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <unordered_set>
#include <utility>

Expand Down
2 changes: 1 addition & 1 deletion cli/cppcheckexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include <iterator>
#include <list>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <unordered_set>
#include <utility>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion cli/executor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include <algorithm>
#include <cassert>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <utility>

struct FileSettings;
Expand Down
2 changes: 1 addition & 1 deletion cli/processexecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include <iostream>
#include <list>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <sys/select.h>
#include <sys/time.h>
#include <sys/wait.h>
Expand Down
2 changes: 1 addition & 1 deletion lib/analyzerinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <tinyxml2.h>
#include <cstring>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>

AnalyzerInformation::~AnalyzerInformation()
{
Expand Down
2 changes: 1 addition & 1 deletion lib/checkio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <list>
#include <map>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <unordered_set>
#include <utility>
#include <vector>
Expand Down
4 changes: 2 additions & 2 deletions lib/checkunusedfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
#include <algorithm>
#include <cctype>
#include <cstring>
#include <fstream> // IWYU pragma: keep
#include <fstream>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <tuple>
#include <utility>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion lib/clangimport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
#include <map>
#include <memory>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stack>
#include <string>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion lib/color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef _WIN32
#include <unistd.h>
#include <cstddef>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <iostream>
#endif

Expand Down
2 changes: 1 addition & 1 deletion lib/cppcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include <iostream> // <- TEMPORARY
#include <new>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stdexcept>
#include <string>
#include <unordered_set>
Expand Down
2 changes: 1 addition & 1 deletion lib/errorlogger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <cstring>
#include <fstream>
#include <iomanip>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <unordered_map>
#include <utility>
Expand Down
4 changes: 2 additions & 2 deletions lib/importproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
#include <algorithm>
#include <cstdlib>
#include <cstring>
#include <fstream> // IWYU pragma: keep
#include <fstream>
#include <iostream>
#include <iterator>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <unordered_set>
#include <utility>

Expand Down
2 changes: 1 addition & 1 deletion lib/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#include <cstring>
#include <list>
#include <memory>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stack>
#include <stdexcept>
#include <string>
Expand Down
2 changes: 1 addition & 1 deletion lib/preprocessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <array>
#include <cstddef>
#include <iterator> // back_inserter
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <utility>

#include <simplecpp.h>
Expand Down
4 changes: 2 additions & 2 deletions lib/summaries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
#include "tokenlist.h"

#include <algorithm>
#include <fstream> // IWYU pragma: keep
#include <fstream>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <utility>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion lib/suppressions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <cctype> // std::isdigit, std::isalnum, etc
#include <cstring>
#include <functional> // std::bind, std::placeholders
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <utility>

#include <tinyxml2.h>
Expand Down
2 changes: 1 addition & 1 deletion lib/symboldatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include <iostream>
#include <iterator>
#include <limits>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stack>
#include <string>
#include <tuple>
Expand Down
2 changes: 1 addition & 1 deletion lib/token.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <iterator>
#include <map>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stack>
#include <unordered_set>
#include <utility>
Expand Down
2 changes: 1 addition & 1 deletion lib/tokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <exception>
#include <memory>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <stack>
#include <stdexcept>
#include <unordered_map>
Expand Down
2 changes: 1 addition & 1 deletion lib/valueflow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
#include <map>
#include <memory>
#include <set>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <type_traits>
#include <unordered_map>
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include <cerrno>
#include <cstdio>
#include <iostream>
#include <fstream> // IWYU pragma: keep
#include <fstream>
#include <list>
#include <map>
#include <stdexcept>
Expand Down
2 changes: 1 addition & 1 deletion test/test64bit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class Test64BitPortability : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testassert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>


class TestAssert : public TestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/testastutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include "tokenlist.h"

#include <cstring>
#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestAstUtils : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testautovariables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestAutoVariables : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testbool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestBool : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testboost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestBoost : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testbufferoverrun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "tokenize.h"

#include <list>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testcharvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestCharVar : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testclangimport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include <cstdint>
#include <list>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testclass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "tokenize.h"

#include <list>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testcondition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
#include "tokenize.h"

#include <limits>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testconstructors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>


class TestConstructors : public TestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/testexceptionsafety.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestExceptionSafety : public TestFixture {
public:
Expand Down
2 changes: 1 addition & 1 deletion test/testfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>

class TestFunctions : public TestFixture {
Expand Down
2 changes: 1 addition & 1 deletion test/testgarbage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "tokenize.h"

#include <list>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>


Expand Down
2 changes: 1 addition & 1 deletion test/testimportproject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

#include <list>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testincompletestatement.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>


Expand Down
2 changes: 1 addition & 1 deletion test/testleakautovar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "fixture.h"
#include "tokenize.h"

#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/testlibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

#include <cstddef>
#include <map>
#include <sstream> // IWYU pragma: keep
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
Expand Down
2 changes: 1 addition & 1 deletion test/testmemleak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include "tokenize.h"

#include <list>
#include <sstream> // IWYU pragma: keep
#include <sstream>

class TestMemleakInClass;
class TestMemleakNoVar;
Expand Down
Loading

0 comments on commit 66479db

Please sign in to comment.