summaryrefslogtreecommitdiffstats
path: root/include/clang/ASTMatchers
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2017-08-23 10:43:26 +0000
committerJohannes Altmanninger <aclopte@gmail.com>2017-08-23 10:43:26 +0000
commitba1ec3c54a66286fe964b2f79286e706e45e7b9e (patch)
treebc4c2a047900b03ad66c4987f007fe69ea5b784f /include/clang/ASTMatchers
parent4d26b24b68c942f78286451059b3c94ecec368a3 (diff)
Fix typos, remove unused private members of CommonOptionsParser, NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/ASTMatchers')
-rw-r--r--include/clang/ASTMatchers/ASTMatchers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h
index c2d9976b77..8c1b082fc8 100644
--- a/include/clang/ASTMatchers/ASTMatchers.h
+++ b/include/clang/ASTMatchers/ASTMatchers.h
@@ -25,7 +25,7 @@
//
// For example, when we're interested in child classes of a certain class, we
// would write:
-// cxxRecordDecl(hasName("MyClass"), hasChild(id("child", recordDecl())))
+// cxxRecordDecl(hasName("MyClass"), has(id("child", recordDecl())))
// When the match is found via the MatchFinder, a user provided callback will
// be called with a BoundNodes instance that contains a mapping from the
// strings that we provided for the id(...) calls to the nodes that were