Searched refs:OldVD (Results 1 – 2 of 2) sorted by relevance
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | TreeTransform.h | 13173 auto *OldVD = cast<VarDecl>(C->getCapturedVar()); in TransformLambdaExpr() local 13178 OldVD->getInit(), OldVD->getInitStyle() == VarDecl::CallInit); in TransformLambdaExpr() 13189 EllipsisLoc, NumExpansions, OldVD->getIdentifier(), in TransformLambdaExpr() 13198 if (OldVD->isParameterPack()) { in TransformLambdaExpr() 13199 PackExpansionTypeLoc ExpansionTL = OldVD->getTypeSourceInfo() in TransformLambdaExpr() 13203 SemaRef.collectUnexpandedParameterPacks(OldVD->getInit(), Unexpanded); in TransformLambdaExpr() 13214 OldVD->getInit()->getSourceRange(), Unexpanded, Expand, in TransformLambdaExpr() 13353 auto *OldVD = cast<VarDecl>(C->getCapturedVar()); in TransformLambdaExpr() local 13364 OldVD->getLocation(), InitQualType, NewC.EllipsisLoc, in TransformLambdaExpr() 13365 OldVD->getIdentifier(), OldVD->getInitStyle(), Init.get()); in TransformLambdaExpr() [all …]
|
H A D | SemaDecl.cpp | 3190 const auto *OldVD = cast<VarDecl>(Old); in mergeDeclAttributes() local 3195 const VarDecl *InitDecl = OldVD->getInitializingDeclaration(); in mergeDeclAttributes() 4474 static bool mergeTypeWithPrevious(Sema &S, VarDecl *NewVD, VarDecl *OldVD, in mergeTypeWithPrevious() argument 4493 (!OldVD->getLexicalDeclContext()->isFunctionOrMethod() && in mergeTypeWithPrevious() 4498 return !OldVD->getLexicalDeclContext()->isFunctionOrMethod() || in mergeTypeWithPrevious() 4499 OldVD->getLexicalDeclContext() == NewVD->getLexicalDeclContext(); in mergeTypeWithPrevious()
|