r242927 - Something was unbalanced, and it wasn't the parentheses. ; -) Reverts r242915.

Aaron Ballman aaron at aaronballman.com
Wed Jul 22 13:02:00 PDT 2015


Author: aaronballman
Date: Wed Jul 22 15:02:00 2015
New Revision: 242927

URL: http://llvm.org/viewvc/llvm-project?rev=242927&view=rev
Log:
Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915.

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=242927&r1=242926&r2=242927&view=diff
==============================================================================
--- cfe/trunk/docs/LibASTMatchersReference.html (original)
+++ cfe/trunk/docs/LibASTMatchersReference.html Wed Jul 22 15:02:00 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=242927&r1=242926&r2=242927&view=diff
==============================================================================
--- cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h (original)
+++ cfe/trunk/include/clang/ASTMatchers/ASTMatchers.h Wed Jul 22 15:02:00 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