]> granicus.if.org Git - clang/commitdiff
Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 22 Jul 2015 20:02:00 +0000 (20:02 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 22 Jul 2015 20:02:00 +0000 (20:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242927 91177308-0d34-0410-b5e6-96231b3b80d8

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

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