diff options
| author | Erich Keane <erich.keane@intel.com> | 2017-06-15 00:28:13 +0000 |
|---|---|---|
| committer | Erich Keane <erich.keane@intel.com> | 2017-06-15 00:28:13 +0000 |
| commit | dfa02b549173e4989004b2ed7042b39ce8d30678 (patch) | |
| tree | 4b6a2263bc8ed678e06c97707646157bef60b06c /clang | |
| parent | 5b767760e9dd5d92c17604ccf425300fe4cb2d45 (diff) | |
| download | bcm5719-llvm-dfa02b549173e4989004b2ed7042b39ce8d30678.tar.gz bcm5719-llvm-dfa02b549173e4989004b2ed7042b39ce8d30678.zip | |
Fix LexerTest signed/unsigned comparison.
Werror was catching a signed/unsigned compare in
an assert, correct the signed 'expected' value to be
unsigned.
llvm-svn: 305435
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/unittests/Lex/LexerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp index a708de8a5a8..4bb355393f7 100644 --- a/clang/unittests/Lex/LexerTest.cpp +++ b/clang/unittests/Lex/LexerTest.cpp @@ -383,7 +383,7 @@ TEST_F(LexerTest, DontOverallocateStringifyArgs) { MacroInfo *MI = PP->AllocateMacroInfo({}); MI->setIsFunctionLike(); MI->setArgumentList(ArgList, Allocator); - EXPECT_EQ(3, MI->getNumArgs()); + EXPECT_EQ(3u, MI->getNumArgs()); EXPECT_TRUE(MI->isFunctionLike()); Token Eof; |

