summaryrefslogtreecommitdiffstats
path: root/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2016-02-16 21:06:10 +0000
committerAaron Ballman <aaron@aaronballman.com>2016-02-16 21:06:10 +0000
commitcc928c80b45c12f31cd229592ff3e3d18dc587b9 (patch)
treee6d2d9d5ab9082684b608baaa5ad828f9bcd91d2 /clang/unittests/ASTMatchers/ASTMatchersTest.cpp
parent232e63d00b2abeeaeae32fbbcbbe656d944a0e66 (diff)
downloadbcm5719-llvm-cc928c80b45c12f31cd229592ff3e3d18dc587b9.tar.gz
bcm5719-llvm-cc928c80b45c12f31cd229592ff3e3d18dc587b9.zip
Missing semicolons are kind of important. Who knew?
llvm-svn: 261009
Diffstat (limited to 'clang/unittests/ASTMatchers/ASTMatchersTest.cpp')
-rw-r--r--clang/unittests/ASTMatchers/ASTMatchersTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/ASTMatchers/ASTMatchersTest.cpp b/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
index 53ebbe1fc04..9b586ab5801 100644
--- a/clang/unittests/ASTMatchers/ASTMatchersTest.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud