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)
llvm-svn: 242915

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

index f447136..5d34b07 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 4e7625c..9d14501 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()) {