r242915 - Balancing parenthesis in comments and documentation; NFC.

Aaron Ballman aaron at aaronballman.com
Wed Jul 22 10:51:43 PDT 2015


Author: aaronballman
Date: Wed Jul 22 12:51:42 2015
New Revision: 242915

URL: http://llvm.org/viewvc/llvm-project?rev=242915&view=rev
Log:
Balancing parenthesis in comments and documentation; NFC.

Modified:
    cfe/trunk/docs/LibASTMatchersReference.html
    cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h

Modified: cfe/trunk/docs/LibASTMatchersReference.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/LibASTMatchersReference.html?rev=242915&r1=242914&r2=242915&view=diff
==============================================================================
--- cfe/trunk/docs/LibASTMatchersReference.html (original)
+++ cfe/trunk/docs/LibASTMatchersReference.html Wed Jul 22 12:51:42 2015
@@ -1691,7 +1691,7 @@ and reference to that variable declarati
 
 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>
 

Modified: cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h?rev=242915&r1=242914&r2=242915&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Wed Jul 22 12:51:42 2015
@@ -4108,7 +4108,7 @@ AST_MATCHER_P(CaseStmt, hasCaseConstant,
 /// \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()) {





More information about the cfe-commits mailing list