Searched defs:NewVD (Results 1 - 6 of 6) sorted by relevance

/external/clang/lib/Sema/
H A DSemaLambda.cpp775 VarDecl *NewVD = VarDecl::Create(Context, CurContext, Loc, local
777 NewVD->setInitCapture(true);
778 NewVD->setReferenced(true);
780 NewVD->setInitStyle(static_cast<VarDecl::InitializationStyle>(InitStyle));
781 NewVD->markUsed(Context);
782 NewVD->setInit(Init);
783 return NewVD;
H A DSemaDeclAttr.cpp5604 VarDecl *NewVD = cast<VarDecl>(NewD); local
5605 NewVD->setQualifierInfo(VD->getQualifierLoc());
H A DSemaDecl.cpp3344 static bool mergeTypeWithPrevious(Sema &S, VarDecl *NewVD, VarDecl *OldVD, argument
3362 return NewVD->isPreviousDeclInSameBlockScope() ||
3364 !NewVD->getLexicalDeclContext()->isFunctionOrMethod());
3369 OldVD->getLexicalDeclContext() == NewVD->getLexicalDeclContext();
4351 if (VarDecl *NewVD = dyn_cast<VarDecl>(Anon)) {
4352 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) {
4355 NewVD->getDeclContext(), ManglingContextDecl)) {
4357 NewVD, MCtx->getManglingNumber(
4358 NewVD, getMSManglingNumber(getLangOpts(), S)));
4359 Context.setStaticLocalNumber(NewVD, MCt
5811 VarDecl *NewVD = nullptr; local
6502 CheckVariableDeclarationType(VarDecl *NewVD) argument
6699 CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous) argument
[all...]
H A DTreeTransform.h9946 VarDecl *NewVD = getSema().createLambdaInitCaptureVarDecl( local
9949 if (!NewVD)
9952 getDerived().transformedLocalDecl(OldVD, NewVD);
9954 getSema().buildInitCaptureField(LSI, NewVD);
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2510 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
2513 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
4448 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, local
4454 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false,
H A DRewriteModernObjC.cpp2608 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
2611 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
5379 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, local
5385 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false,
7616 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
7620 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false,

Completed in 163 milliseconds