Author: rksimon
Date: Tue Oct 18 08:15:31 2016
New Revision: 284476

URL: http://llvm.org/viewvc/llvm-project?rev=284476&view=rev
Log:
Fix signed/unsigned comparison warnings
Modified:
    clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp
    clang-tools-extra/trunk/unittests/clang-tidy/UsingInserterTest.cpp

Modified: clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp?rev=284476&r1=284475&r2=284476&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp 
(original)
+++ clang-tools-extra/trunk/unittests/clang-tidy/NamespaceAliaserTest.cpp Tue 
Oct 18 08:15:31 2016
@@ -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"

Modified: clang-tools-extra/trunk/unittests/clang-tidy/UsingInserterTest.cpp
URL: 
http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clang-tidy/UsingInserterTest.cpp?rev=284476&r1=284475&r2=284476&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clang-tidy/UsingInserterTest.cpp 
(original)
+++ clang-tools-extra/trunk/unittests/clang-tidy/UsingInserterTest.cpp Tue Oct 
18 08:15:31 2016
@@ -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"


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to