r261009 - Missing semicolons are kind of important. Who knew?
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 16 13:06:10 PST 2016
Author: aaronballman
Date: Tue Feb 16 15:06:10 2016
New Revision: 261009
URL: http://llvm.org/viewvc/llvm-project?rev=261009&view=rev
Log:
Missing semicolons are kind of important. Who knew?
Modified:
cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp
Modified: cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp?rev=261009&r1=261008&r2=261009&view=diff
==============================================================================
--- cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp (original)
+++ cfe/trunk/unittests/ASTMatchers/ASTMatchersTest.cpp Tue Feb 16 15:06:10 2016
@@ -5355,7 +5355,7 @@ TEST(NullPointerConstants, Basic) {
EXPECT_TRUE(matches("void *v3 = __null;", expr(nullPointerConstant())));
EXPECT_TRUE(matches("char *cp = (char *)0;", expr(nullPointerConstant())));
EXPECT_TRUE(matches("int *ip = 0;", expr(nullPointerConstant())));
- EXPECT_TRUE(notMatches("int i = 0", expr(nullPointerConstant())));
+ EXPECT_TRUE(notMatches("int i = 0;", expr(nullPointerConstant())));
}
} // end namespace ast_matchers
More information about the cfe-commits
mailing list