Home
last modified time | relevance | path

Searched refs:NewDecls (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterSharedState.h43 llvm::DenseSet<Decl *> NewDecls; variable
81 bool isNewDecl(const Decl *ToD) const { return NewDecls.count(ToD); } in isNewDecl()
83 void markAsNewDecl(Decl *ToD) { NewDecls.insert(ToD); } in markAsNewDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp4426 llvm::SmallVector<NamedDecl*, 4> NewDecls(TC.begin(), DI); in checkCorrectionVisibility() local
4427 bool AnyVisibleDecls = !NewDecls.empty(); in checkCorrectionVisibility()
4434 NewDecls.clear(); in checkCorrectionVisibility()
4436 NewDecls.push_back(*DI); in checkCorrectionVisibility()
4438 NewDecls.push_back(*DI); in checkCorrectionVisibility()
4441 if (NewDecls.empty()) in checkCorrectionVisibility()
4444 TC.setCorrectionDecls(NewDecls); in checkCorrectionVisibility()
H A DSemaTemplateInstantiate.cpp1450 void transformedLocalDecl(Decl *Old, ArrayRef<Decl *> NewDecls) { in transformedLocalDecl() argument
1453 for (auto *New : NewDecls) in transformedLocalDecl()
1459 assert(NewDecls.size() == 1 && in transformedLocalDecl()
1461 Decl *New = NewDecls.front(); in transformedLocalDecl()