Searched refs:NewDecls (Results 1 – 3 of 3) sorted by relevance
2532 void FunctionDecl::setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls) { in setDeclsInPrototypeScope() argument2535 if (!NewDecls.empty()) { in setDeclsInPrototypeScope()2536 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()2537 std::copy(NewDecls.begin(), NewDecls.end(), A); in setDeclsInPrototypeScope()2538 DeclsInPrototypeScope = ArrayRef<NamedDecl *>(A, NewDecls.size()); in setDeclsInPrototypeScope()
3986 llvm::SmallVector<NamedDecl*, 4> NewDecls(TC.begin(), DI); in checkCorrectionVisibility() local3987 bool AnyVisibleDecls = !NewDecls.empty(); in checkCorrectionVisibility()3998 NewDecls.clear(); in checkCorrectionVisibility()4000 NewDecls.push_back(VisibleDecl); in checkCorrectionVisibility()4002 NewDecls.push_back(*DI); in checkCorrectionVisibility()4005 if (NewDecls.empty()) in checkCorrectionVisibility()4008 TC.setCorrectionDecls(NewDecls); in checkCorrectionVisibility()
1866 void setDeclsInPrototypeScope(ArrayRef<NamedDecl *> NewDecls);