Home
last modified time | relevance | path

Searched refs:NewVD (Results 1 – 7 of 7) sorted by relevance

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