summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2015-07-22 17:51:42 +0000
committerAaron Ballman <aaron@aaronballman.com>2015-07-22 17:51:42 +0000
commitcd1646823b5c8c62a6baa662de07cecfd993815f (patch)
treeab54b83797acf11273622d9650d781cd808a0025 /clang
parentd030d11a2404ebe6749e88c1aab3165d1c8e727e (diff)
downloadbcm5719-llvm-cd1646823b5c8c62a6baa662de07cecfd993815f.tar.gz
bcm5719-llvm-cd1646823b5c8c62a6baa662de07cecfd993815f.zip
Balancing parenthesis in comments and documentation; NFC.
llvm-svn: 242915
Diffstat (limited to 'clang')
-rw-r--r--clang/docs/LibASTMatchersReference.html2
-rw-r--r--clang/include/clang/ASTMatchers/ASTMatchers.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html
index f4471364f24..5d34b075270 100644
--- a/clang/docs/LibASTMatchersReference.html
+++ b/clang/docs/LibASTMatchersReference.html
@@ -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>
diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h
index 4e7625c1c25..9d14501871b 100644
--- a/clang/include/clang/ASTMatchers/ASTMatchers.h
+++ b/clang/include/clang/ASTMatchers/ASTMatchers.h
@@ -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()) {
OpenPOWER on IntegriCloud