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

/external/clang/lib/Sema/
H A DSemaLambda.cpp778 VarDecl *NewVD = VarDecl::Create(Context, CurContext, Loc, local
780 NewVD->setInitCapture(true);
781 NewVD->setReferenced(true);
783 NewVD->setInitStyle(static_cast<VarDecl::InitializationStyle>(InitStyle));
784 NewVD->markUsed(Context);
785 NewVD->setInit(Init);
786 return NewVD;
H A DSemaDeclAttr.cpp6055 VarDecl *NewVD = cast<VarDecl>(NewD); local
6056 NewVD->setQualifierInfo(VD->getQualifierLoc());
H A DSemaDecl.cpp3431 static bool mergeTypeWithPrevious(Sema &S, VarDecl *NewVD, VarDecl *OldVD, argument
3449 return NewVD->isPreviousDeclInSameBlockScope() ||
3451 !NewVD->getLexicalDeclContext()->isFunctionOrMethod());
3456 OldVD->getLexicalDeclContext() == NewVD->getLexicalDeclContext();
4482 if (VarDecl *NewVD = dyn_cast<VarDecl>(Anon)) {
4483 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) {
4486 NewVD->getDeclContext(), ManglingContextDecl)) {
4488 NewVD, MCtx->getManglingNumber(
4489 NewVD, getMSManglingNumber(getLangOpts(), S)));
4490 Context.setStaticLocalNumber(NewVD, MCt
5972 VarDecl *NewVD = nullptr; local
6757 CheckVariableDeclarationType(VarDecl *NewVD) argument
6978 CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous) argument
[all...]
H A DTreeTransform.h10283 VarDecl *NewVD = getSema().createLambdaInitCaptureVarDecl( local
10286 if (!NewVD)
10289 getDerived().transformedLocalDecl(OldVD, NewVD);
10291 getSema().buildInitCaptureField(LSI, NewVD);
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2505 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
2508 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
4429 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, local
4435 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false,
H A DRewriteModernObjC.cpp2581 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
2584 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue,
5301 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, local
5307 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false,
7491 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), local
7495 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false,

Completed in 748 milliseconds