summaryrefslogtreecommitdiff
path: root/unittests/ASTMatchers
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-05 06:38:57 +0000
committerAlp Toker <alp@nuanti.com>2014-01-05 06:38:57 +0000
commit0a1a3e415e13a65b57cfddca8a36117769f5eb5a (patch)
tree46ac2bd3bf9037ecdacb21d75d81f115250ca022 /unittests/ASTMatchers
parent1af37cb5ed36b62f2d16256d13f23f1446d3fcc0 (diff)
downloadclang-0a1a3e415e13a65b57cfddca8a36117769f5eb5a.tar.gz
clang-0a1a3e415e13a65b57cfddca8a36117769f5eb5a.tar.bz2
clang-0a1a3e415e13a65b57cfddca8a36117769f5eb5a.tar.xz
Fix 'declartion' typos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ASTMatchers')
-rw-r--r--unittests/ASTMatchers/ASTMatchersTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ASTMatchers/ASTMatchersTest.cpp b/unittests/ASTMatchers/ASTMatchersTest.cpp
index cc13c01fec..e042d54a9a 100644
--- a/unittests/ASTMatchers/ASTMatchersTest.cpp
+++ b/unittests/ASTMatchers/ASTMatchersTest.cpp
@@ -1479,7 +1479,7 @@ TEST(HasAnyParameter, DoesNotMatchThisPointer) {
recordDecl(hasName("X"))))))));
}
-TEST(HasName, MatchesParameterVariableDeclartions) {
+TEST(HasName, MatchesParameterVariableDeclarations) {
EXPECT_TRUE(matches("class Y {}; class X { void x(int x) {} };",
methodDecl(hasAnyParameter(hasName("x")))));
EXPECT_TRUE(notMatches("class Y {}; class X { void x(int) {} };",