Home
last modified time | relevance | path

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

/minix/external/bsd/llvm/dist/clang/lib/AST/
H A DDecl.cpp2628 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope() argument
2631 if (!NewDecls.empty()) { in setDeclsInPrototypeScope()
2632 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()
2633 std::copy(NewDecls.begin(), NewDecls.end(), A); in setDeclsInPrototypeScope()
2634 DeclsInPrototypeScope = llvm::makeArrayRef(A, NewDecls.size()); in setDeclsInPrototypeScope()
2636 for (auto I : NewDecls) { in setDeclsInPrototypeScope()
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaLookup.cpp3332 llvm::SmallVector<NamedDecl*, 4> NewDecls(TC.begin(), DI); in checkCorrectionVisibility() local
3333 bool AnyVisibleDecls = !NewDecls.empty(); in checkCorrectionVisibility()
3344 NewDecls.clear(); in checkCorrectionVisibility()
3346 NewDecls.push_back(VisibleDecl); in checkCorrectionVisibility()
3348 NewDecls.push_back(*DI); in checkCorrectionVisibility()
3351 if (NewDecls.empty()) in checkCorrectionVisibility()
3354 TC.setCorrectionDecls(NewDecls); in checkCorrectionVisibility()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DDecl.h1904 void setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls);