From: Aaron Ballman Date: Wed, 22 Jul 2015 20:02:00 +0000 (+0000) Subject: Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c9afbb4aaae68e07b81d4fff7a9df80673cd7b08;p=clang 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 --- diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index 5d34b07527..f4471364f2 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. diff --git a/include/clang/ASTMatchers/ASTMatchers.h b/include/clang/ASTMatchers/ASTMatchers.h index 9d14501871..4e7625c1c2 100644 --- a/include/clang/ASTMatchers/ASTMatchers.h +++ b/include/clang/ASTMatchers/ASTMatchers.h @@ -4108,7 +4108,7 @@ AST_MATCHER_P(CaseStmt, hasCaseConstant, internal::Matcher, /// \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()) {