Searched refs:CanonicalVD (Results 1 – 4 of 4) sorted by relevance
1199 VarDecl *CanonicalVD = VD->getCanonicalDecl(); in ActOnOpenMPIdExpression() local1200 NamedDecl *ND = cast<NamedDecl>(CanonicalVD); in ActOnOpenMPIdExpression()1204 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()1219 if (CanonicalVD->isStaticDataMember() && in ActOnOpenMPIdExpression()1220 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()1234 if (CanonicalVD->getDeclContext()->isNamespace() && in ActOnOpenMPIdExpression()1236 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()1249 if (CanonicalVD->isStaticLocal() && CurScope && in ActOnOpenMPIdExpression()
856 auto *CanonicalVD = PrivateVD->getCanonicalDecl(); in EmitOMPLastprivateClauseFinal() local857 if (AlreadyEmittedVars.insert(CanonicalVD).second) { in EmitOMPLastprivateClauseFinal()861 if (auto *FinalExpr = LoopCountersAndUpdates.lookup(CanonicalVD)) in EmitOMPLastprivateClauseFinal()
2822 VarDecl *CanonicalVD = VD->getCanonicalDecl(); in ActOnOpenMPIdExpression() local2823 NamedDecl *ND = CanonicalVD; in ActOnOpenMPIdExpression()2827 if (CanonicalVD->getDeclContext()->isTranslationUnit() && in ActOnOpenMPIdExpression()2842 if (CanonicalVD->isStaticDataMember() && in ActOnOpenMPIdExpression()2843 !CanonicalVD->getDeclContext()->Equals(getCurLexicalContext())) { in ActOnOpenMPIdExpression()2857 if (CanonicalVD->getDeclContext()->isNamespace() && in ActOnOpenMPIdExpression()2859 !getCurLexicalContext()->Encloses(CanonicalVD->getDeclContext()))) { in ActOnOpenMPIdExpression()2872 if (CanonicalVD->isLocalVarDecl() && CurScope && in ActOnOpenMPIdExpression()
1135 const auto *CanonicalVD = PrivateVD->getCanonicalDecl(); in EmitOMPLastprivateClauseFinal() local1136 if (AlreadyEmittedVars.insert(CanonicalVD).second) { in EmitOMPLastprivateClauseFinal()1140 if (const Expr *FinalExpr = LoopCountersAndUpdates.lookup(CanonicalVD)) in EmitOMPLastprivateClauseFinal()