summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-04-03 13:37:56 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-04-03 13:37:56 +0000
commitf36b2534b23cc762d3e703802e143d04c4a8cd84 (patch)
tree053f39d1434967832a18639d6a47eda6c70e6f3e /clang
parent8f6166a72eb4a945d79b99d5eec4f7dac8bd3b16 (diff)
downloadbcm5719-llvm-f36b2534b23cc762d3e703802e143d04c4a8cd84.tar.gz
bcm5719-llvm-f36b2534b23cc762d3e703802e143d04c4a8cd84.zip
Fixing a typo; NFC.
llvm-svn: 357579
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/LibASTMatchersReference.html2
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html
index 10b9ebf19b7..3f8e4178d6b 100644
--- a/clang/docs/LibASTMatchersReference.html
+++ b/clang/docs/LibASTMatchersReference.html
@@ -2773,7 +2773,7 @@ Decl has pointer identity in the AST.
Given
__attribute__((device)) void f() { ... }
decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of
-f. If the matcher is use from clang-query, attr::Kind parameter should be
+f. If the matcher is used from clang-query, attr::Kind parameter should be
passed as a quoted string. e.g., hasAttr("attr::CUDADevice").
</pre></td></tr>
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 1ad016623ec..c5ec9f48a05 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -6187,7 +6187,7 @@ AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>,
/// __attribute__((device)) void f() { ... }
/// \endcode
/// decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of
-/// f. If the matcher is use from clang-query, attr::Kind parameter should be
+/// f. If the matcher is used from clang-query, attr::Kind parameter should be
/// passed as a quoted string. e.g., hasAttr("attr::CUDADevice").
AST_MATCHER_P(Decl, hasAttr, attr::Kind, AttrKind) {
for (const auto *Attr : Node.attrs()) {
OpenPOWER on IntegriCloud