reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaOpenMP.cpp
16214   assert((isa<VarDecl>(ND) || isa<FunctionDecl>(ND) ||
16214   assert((isa<VarDecl>(ND) || isa<FunctionDecl>(ND) ||
16215           isa<FunctionTemplateDecl>(ND)) &&
16221       (ND->isUsed(/*CheckUsedAttr=*/false) || ND->isReferenced()))
16221       (ND->isUsed(/*CheckUsedAttr=*/false) || ND->isReferenced()))
16225       OMPDeclareTargetDeclAttr::getDeviceType(cast<ValueDecl>(ND));
16233       OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(cast<ValueDecl>(ND));
16237     ND->addAttr(A);
16239       ML->DeclarationMarkedOpenMPDeclareTarget(ND, A);
16240     checkDeclIsAllowedInOpenMPTarget(nullptr, ND, Loc);
16242     Diag(Loc, diag::err_omp_declare_target_to_and_link) << ND;