diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2015-07-22 20:02:00 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2015-07-22 20:02:00 +0000 |
| commit | 079d3e152d736b39cc809c0714a0366bd4a6ec33 (patch) | |
| tree | bbd347d2f4b954c9b49bdf53d39ac9f44c4e6522 /clang | |
| parent | be9ab2682e3bd88424016121e72c4485964ca90a (diff) | |
| download | bcm5719-llvm-079d3e152d736b39cc809c0714a0366bd4a6ec33.tar.gz bcm5719-llvm-079d3e152d736b39cc809c0714a0366bd4a6ec33.zip | |
Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915.
llvm-svn: 242927
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/docs/LibASTMatchersReference.html | 2 | ||||
| -rw-r--r-- | clang/include/clang/ASTMatchers/ASTMatchers.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 5d34b075270..f4471364f24 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 9d14501871b..4e7625c1c25 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()) { |

