Home
last modified time | relevance | path

Searched refs:PrevD (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DIdentifierResolver.cpp161 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in AddDecl() local
162 IDI->AddDecl(PrevD); in AddDecl()
186 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in InsertDeclAfter() local
187 RemoveDecl(PrevD); in InsertDeclAfter()
189 AddDecl(PrevD); in InsertDeclAfter()
316 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in tryAddTopLevelDecl() local
318 switch (compareDeclarations(PrevD, D)) { in tryAddTopLevelDecl()
335 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
337 IDI->AddDecl(PrevD); in tryAddTopLevelDecl()
339 IDI->AddDecl(PrevD); in tryAddTopLevelDecl()
DSemaOpenMP.cpp14702 Decl *PrevD = nullptr; in buildDeclareReductionRef() local
14704 if (D == PrevD) in buildDeclareReductionRef()
14708 PrevD = D; in buildDeclareReductionRef()
/external/clang/lib/Sema/
DIdentifierResolver.cpp159 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in AddDecl() local
160 IDI->AddDecl(PrevD); in AddDecl()
184 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in InsertDeclAfter() local
185 RemoveDecl(PrevD); in InsertDeclAfter()
187 AddDecl(PrevD); in InsertDeclAfter()
312 NamedDecl *PrevD = static_cast<NamedDecl*>(Ptr); in tryAddTopLevelDecl() local
314 switch (compareDeclarations(PrevD, D)) { in tryAddTopLevelDecl()
331 if (!PrevD->getDeclContext()->getRedeclContext()->isTranslationUnit()) { in tryAddTopLevelDecl()
333 IDI->AddDecl(PrevD); in tryAddTopLevelDecl()
335 IDI->AddDecl(PrevD); in tryAddTopLevelDecl()
DSemaOpenMP.cpp8923 Decl *PrevD = nullptr; in buildDeclareReductionRef() local
8925 if (D == PrevD) in buildDeclareReductionRef()
8929 PrevD = D; in buildDeclareReductionRef()