Searched refs:NewDecls (Results 1 – 3 of 3) sorted by relevance
2628 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope() argument2631 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()
3332 llvm::SmallVector<NamedDecl*, 4> NewDecls(TC.begin(), DI); in checkCorrectionVisibility() local3333 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()
1904 void setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls);