]> granicus.if.org Git - clang/commitdiff
Balancing parenthesis in comments and documentation; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 22 Jul 2015 17:51:42 +0000 (17:51 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 22 Jul 2015 17:51:42 +0000 (17:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242915 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LibASTMatchersReference.html
include/clang/ASTMatchers/ASTMatchers.h

index f4471364f24b9bb7088a1209e29885201e0fded2..5d34b0752709aeeebd02f2d14844a84846420f3a 100644 (file)
@@ -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>
 
index 4e7625c1c250422a0bbba07cb20e90e327edb660..9d14501871b28cb41e54a78d36cb81925e4aaf78 100644 (file)
@@ -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()) {