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

llvm-svn: 242927
This commit is contained in:
Aaron Ballman 2015-07-22 20:02:00 +00:00
parent be9ab2682e
commit 079d3e152d
2 changed files with 2 additions and 2 deletions

View 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>

View 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()) {