From d065b6d26258c3dc57f0b07e3cecfd6eb3985fa8 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Tue, 16 Feb 2016 21:06:10 +0000 Subject: [PATCH] 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 --- unittests/ASTMatchers/ASTMatchersTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1