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

References

tools/clang/lib/Sema/SemaOpenMP.cpp
16288   if (!D || D->isInvalidDecl())
16288   if (!D || D->isInvalidDecl())
16290   SourceRange SR = E ? E->getSourceRange() : D->getSourceRange();
16291   SourceLocation SL = E ? E->getBeginLoc() : D->getLocation();
16292   if (auto *VD = dyn_cast<VarDecl>(D)) {
16305   if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(D))
16306     D = FTD->getTemplatedDecl();
16307   if (auto *FD = dyn_cast<FunctionDecl>(D)) {
16325   if (auto *VD = dyn_cast<ValueDecl>(D)) {
16333       if (isa<VarDecl>(D) || isa<FunctionDecl>(D) ||
16333       if (isa<VarDecl>(D) || isa<FunctionDecl>(D) ||
16334           isa<FunctionTemplateDecl>(D)) {
16338         D->addAttr(A);
16340           ML->DeclarationMarkedOpenMPDeclareTarget(D, A);
16347   checkDeclInTargetContext(E->getExprLoc(), E->getSourceRange(), *this, D);