diff options
-rw-r--r-- | clang/docs/LibASTMatchersReference.html | 2 | ||||
-rw-r--r-- | clang/include/clang/ASTMatchers/ASTMatchers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 5d34b075270..f4471364f24 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -1691,7 +1691,7 @@ and reference to that variable declaration within a compound statement. Given __attribute__((device)) void f() { ... } -decl(hasAttr(clang::attr::CUDADevice))) matches the function declaration of +decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of f. </pre></td></tr> diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index 9d14501871b..4e7625c1c25 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -4108,7 +4108,7 @@ AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher<Expr>, /// \code /// __attribute__((device)) void f() { ... } /// \endcode -/// decl(hasAttr(clang::attr::CUDADevice))) matches the function declaration of +/// decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of /// f. AST_MATCHER_P(Decl, hasAttr, attr::Kind, AttrKind) { for (const auto *Attr : Node.attrs()) { |