From: Aaron Ballman Date: Tue, 16 Feb 2016 21:06:10 +0000 (+0000) Subject: Missing semicolons are kind of important. Who knew? X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d065b6d26258c3dc57f0b07e3cecfd6eb3985fa8;p=clang Missing semicolons are kind of important. Who knew? git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261009 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/ASTMatchers/ASTMatchersTest.cpp b/unittests/ASTMatchers/ASTMatchersTest.cpp index 53ebbe1fc0..9b586ab580 100644 --- a/unittests/ASTMatchers/ASTMatchersTest.cpp +++ b/unittests/ASTMatchers/ASTMatchersTest.cpp @@ -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