diff options
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy')
-rw-r--r-- | clang-tools-extra/unittests/clang-tidy/NamespaceAliaserTest.cpp | 2 | ||||
-rw-r--r-- | clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/NamespaceAliaserTest.cpp b/clang-tools-extra/unittests/clang-tidy/NamespaceAliaserTest.cpp index 6559982d08a..7369e947620 100644 --- a/clang-tools-extra/unittests/clang-tidy/NamespaceAliaserTest.cpp +++ b/clang-tools-extra/unittests/clang-tidy/NamespaceAliaserTest.cpp @@ -51,7 +51,7 @@ private: }; template <typename Check> -std::string runChecker(StringRef Code, int ExpectedWarningCount) { +std::string runChecker(StringRef Code, unsigned ExpectedWarningCount) { std::map<StringRef, StringRef> AdditionalFileContents = {{"foo.h", "namespace foo {\n" "namespace bar {\n" diff --git a/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp b/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp index f10f708055a..bee4f673373 100644 --- a/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp +++ b/clang-tools-extra/unittests/clang-tidy/UsingInserterTest.cpp @@ -53,7 +53,7 @@ private: }; template <typename Check> -std::string runChecker(StringRef Code, int ExpectedWarningCount) { +std::string runChecker(StringRef Code, unsigned ExpectedWarningCount) { std::map<StringRef, StringRef> AdditionalFileContents = {{"foo.h", "namespace foo {\n" "namespace bar {\n" |