diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-10-18 13:15:31 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-10-18 13:15:31 +0000 |
| commit | 6b6291aa9b25580a92b76abd8c8dad960ad75237 (patch) | |
| tree | 773be2ad10a5b2f86a48a8868e8ee6bc22fb44ab | |
| parent | 3955b75ba9c2f5888d2e3113ebf9d72d97f047eb (diff) | |
| download | bcm5719-llvm-6b6291aa9b25580a92b76abd8c8dad960ad75237.tar.gz bcm5719-llvm-6b6291aa9b25580a92b76abd8c8dad960ad75237.zip | |
Fix signed/unsigned comparison warnings
llvm-svn: 284476
| -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" |

