diff options
Diffstat (limited to '')
-rw-r--r-- | .clang-format | 14 | ||||
-rw-r--r-- | src/call_stack.cpp | 2 | ||||
-rw-r--r-- | src/dbghelp.cpp | 5 | ||||
-rw-r--r-- | src/error.cpp | 2 | ||||
-rw-r--r-- | src/module.cpp | 5 | ||||
-rw-r--r-- | src/process.cpp | 5 | ||||
-rw-r--r-- | src/repo.cpp | 2 | ||||
-rw-r--r-- | src/symbol.cpp | 5 | ||||
-rw-r--r-- | src/utils/file.cpp | 2 | ||||
-rw-r--r-- | test/unit_tests/dbghelp.cpp | 7 | ||||
-rw-r--r-- | test/unit_tests/fixtures.hpp (renamed from test/unit_tests/dbghelp.hpp) | 2 | ||||
-rw-r--r-- | test/unit_tests/paths.hpp (renamed from test/unit_tests/utils.hpp) | 0 |
12 files changed, 21 insertions, 30 deletions
diff --git a/.clang-format b/.clang-format index fb0d2f6..08d4d1d 100644 --- a/.clang-format +++ b/.clang-format @@ -10,18 +10,14 @@ IndentWidth: 4 SpacesBeforeTrailingComments: 1 IncludeCategories: - - Regex: '^".*' + - Regex: '^".+' Priority: 1 - - Regex: '^<test_lib.*' + - Regex: '^<test_lib\.|^<pdb\/' Priority: 2 - - Regex: '^<pdb/' + - Regex: '^<boost\/|^<SafeInt\.' Priority: 3 - - Regex: '^<boost/' - Priority: 4 - - Regex: '^<SafeInt.hpp>$' - Priority: 5 - Regex: '^<.*\.h>$' - Priority: 6 + Priority: 4 - Regex: '.*' - Priority: 7 + Priority: 5 ... diff --git a/src/call_stack.cpp b/src/call_stack.cpp index d9e0637..aec50de 100644 --- a/src/call_stack.cpp +++ b/src/call_stack.cpp @@ -3,7 +3,7 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" +#include <pdb/all.hpp> #include <SafeInt.hpp> diff --git a/src/dbghelp.cpp b/src/dbghelp.cpp index 5b66914..8f0f7d6 100644 --- a/src/dbghelp.cpp +++ b/src/dbghelp.cpp @@ -3,11 +3,10 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" - -#include <boost/nowide/convert.hpp> +#include <pdb/all.hpp> #include <SafeInt.hpp> +#include <boost/nowide/convert.hpp> #include <dbghelp.h> #include <windows.h> diff --git a/src/error.cpp b/src/error.cpp index d305e88..74cf395 100644 --- a/src/error.cpp +++ b/src/error.cpp @@ -3,7 +3,7 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" +#include <pdb/all.hpp> #include <boost/nowide/convert.hpp> diff --git a/src/module.cpp b/src/module.cpp index f4f3eb9..3f4764c 100644 --- a/src/module.cpp +++ b/src/module.cpp @@ -3,11 +3,10 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" - -#include <boost/nowide/convert.hpp> +#include <pdb/all.hpp> #include <SafeInt.hpp> +#include <boost/nowide/convert.hpp> #include <cstring> #include <sstream> diff --git a/src/process.cpp b/src/process.cpp index c2a32f4..5ba3734 100644 --- a/src/process.cpp +++ b/src/process.cpp @@ -1,8 +1,7 @@ -#include "pdb/all.hpp" - -#include <boost/nowide/convert.hpp> +#include <pdb/all.hpp> #include <SafeInt.hpp> +#include <boost/nowide/convert.hpp> #include <windows.h> diff --git a/src/repo.cpp b/src/repo.cpp index 6ef5252..fbdf1ae 100644 --- a/src/repo.cpp +++ b/src/repo.cpp @@ -3,7 +3,7 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" +#include <pdb/all.hpp> #include <map> #include <sstream> diff --git a/src/symbol.cpp b/src/symbol.cpp index d51cc83..ad7bd3f 100644 --- a/src/symbol.cpp +++ b/src/symbol.cpp @@ -3,11 +3,10 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" - -#include <boost/nowide/convert.hpp> +#include <pdb/all.hpp> #include <SafeInt.hpp> +#include <boost/nowide/convert.hpp> #include <dbghelp.h> #include <windows.h> diff --git a/src/utils/file.cpp b/src/utils/file.cpp index 826f470..4d7dd53 100644 --- a/src/utils/file.cpp +++ b/src/utils/file.cpp @@ -3,7 +3,7 @@ // For details, see https://github.com/egor-tensin/pdb-repo. // Distributed under the MIT License. -#include "pdb/all.hpp" +#include <pdb/all.hpp> #include <SafeInt.hpp> diff --git a/test/unit_tests/dbghelp.cpp b/test/unit_tests/dbghelp.cpp index ddf5a71..aab292f 100644 --- a/test/unit_tests/dbghelp.cpp +++ b/test/unit_tests/dbghelp.cpp @@ -1,9 +1,8 @@ -#include "dbghelp.hpp" -#include "utils.hpp" - -#include <test_lib.hpp> +#include "fixtures.hpp" +#include "paths.hpp" #include <pdb/all.hpp> +#include <test_lib.hpp> #include <boost/test/unit_test.hpp> diff --git a/test/unit_tests/dbghelp.hpp b/test/unit_tests/fixtures.hpp index daede68..f6571d1 100644 --- a/test/unit_tests/dbghelp.hpp +++ b/test/unit_tests/fixtures.hpp @@ -1,6 +1,6 @@ #pragma once -#include "utils.hpp" +#include "paths.hpp" #include <pdb/all.hpp> diff --git a/test/unit_tests/utils.hpp b/test/unit_tests/paths.hpp index 561ca4d..561ca4d 100644 --- a/test/unit_tests/utils.hpp +++ b/test/unit_tests/paths.hpp |