forked from OSchip/llvm-project
Something was unbalanced, and it wasn't the parentheses. ;-) Reverts r242915.
llvm-svn: 242927
This commit is contained in:
parent
be9ab2682e
commit
079d3e152d
|
@ -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>
|
||||
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue