Searched refs:NewDecls (Results 1 – 3 of 3) sorted by relevance
2759 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope() argument2762 if (!NewDecls.empty()) { in setDeclsInPrototypeScope()2763 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()2764 std::copy(NewDecls.begin(), NewDecls.end(), A); in setDeclsInPrototypeScope()2765 DeclsInPrototypeScope = llvm::makeArrayRef(A, NewDecls.size()); in setDeclsInPrototypeScope()2767 for (auto I : NewDecls) { in setDeclsInPrototypeScope()
3785 llvm::SmallVector<NamedDecl*, 4> NewDecls(TC.begin(), DI); in checkCorrectionVisibility() local3786 bool AnyVisibleDecls = !NewDecls.empty(); in checkCorrectionVisibility()3797 NewDecls.clear(); in checkCorrectionVisibility()3799 NewDecls.push_back(VisibleDecl); in checkCorrectionVisibility()3801 NewDecls.push_back(*DI); in checkCorrectionVisibility()3804 if (NewDecls.empty()) in checkCorrectionVisibility()3807 TC.setCorrectionDecls(NewDecls); in checkCorrectionVisibility()
2026 void setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls);