Lines Matching refs:NewVD
3128 auto *NewVD = VarDecl::Create(
3132 NewVD->setTSCSpec(VD->getTSCSpec());
3133 NewVD->setInit(VD->getInit());
3134 NewVD->setInitStyle(VD->getInitStyle());
3135 NewVD->setExceptionVariable(VD->isExceptionVariable());
3136 NewVD->setNRVOVariable(VD->isNRVOVariable());
3137 NewVD->setCXXForRangeDecl(VD->isInExternCXXContext());
3138 NewVD->setConstexpr(VD->isConstexpr());
3139 NewVD->setInitCapture(VD->isInitCapture());
3140 NewVD->setPreviousDeclInSameBlockScope(
3142 VD->getDeclContext()->addHiddenDecl(NewVD);
3144 NewVD->setAttrs(VD->getAttrs());
3145 transformedLocalDecl(VD, NewVD);
3146 return NewVD;