From c9afbb4aaae68e07b81d4fff7a9df80673cd7b08 Mon Sep 17 00:00:00 2001 From: Aaron Ballman <aaron@aaronballman.com> Date: Wed, 22 Jul 2015 20:02:00 +0000 Subject: [PATCH] Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242927 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibASTMatchersReference.html | 2 +- include/clang/ASTMatchers/ASTMatchers.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index 5d34b075270..f4471364f24 100644 --- a/docs/LibASTMatchersReference.html +++ b/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/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 9d14501871b..4e7625c1c25 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/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()) { -- GitLab