Searched refs:NewVD (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 3217 static bool mergeTypeWithPrevious(Sema &S, VarDecl *NewVD, VarDecl *OldVD, in mergeTypeWithPrevious() argument 3235 return NewVD->isPreviousDeclInSameBlockScope() || in mergeTypeWithPrevious() 3237 !NewVD->getLexicalDeclContext()->isFunctionOrMethod()); in mergeTypeWithPrevious() 3242 OldVD->getLexicalDeclContext() == NewVD->getLexicalDeclContext(); in mergeTypeWithPrevious() 4177 if (VarDecl *NewVD = dyn_cast<VarDecl>(Anon)) { in BuildAnonymousStructOrUnion() local 4178 if (getLangOpts().CPlusPlus && NewVD->isStaticLocal()) { in BuildAnonymousStructOrUnion() 4181 NewVD->getDeclContext(), ManglingContextDecl)) { in BuildAnonymousStructOrUnion() 4183 NewVD, MCtx->getManglingNumber( in BuildAnonymousStructOrUnion() 4184 NewVD, getMSManglingNumber(getLangOpts(), S))); in BuildAnonymousStructOrUnion() 4185 Context.setStaticLocalNumber(NewVD, MCtx->getStaticLocalNumber(NewVD)); in BuildAnonymousStructOrUnion() [all …]
|
D | SemaLambda.cpp | 814 VarDecl *NewVD = VarDecl::Create(Context, CurContext, Loc, in createLambdaInitCaptureVarDecl() local 816 NewVD->setInitCapture(true); in createLambdaInitCaptureVarDecl() 817 NewVD->setReferenced(true); in createLambdaInitCaptureVarDecl() 818 NewVD->markUsed(Context); in createLambdaInitCaptureVarDecl() 819 NewVD->setInit(Init); in createLambdaInitCaptureVarDecl() 820 return NewVD; in createLambdaInitCaptureVarDecl()
|
D | TreeTransform.h | 9274 VarDecl *NewVD = getSema().createLambdaInitCaptureVarDecl( in TransformLambdaScope() local 9277 if (!NewVD) in TransformLambdaScope() 9280 getDerived().transformedLocalDecl(OldVD, NewVD); in TransformLambdaScope() 9282 getSema().buildInitCaptureField(LSI, NewVD); in TransformLambdaScope()
|
D | SemaDeclAttr.cpp | 5023 VarDecl *NewVD = cast<VarDecl>(NewD); in DeclClonePragmaWeak() local 5024 NewVD->setQualifierInfo(VD->getQualifierLoc()); in DeclClonePragmaWeak()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 2607 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), in RewriteObjCStringLiteral() local 2610 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() 5401 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, in SynthBlockInitExpr() local 5407 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false, in SynthBlockInitExpr() 7639 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), in RewriteObjCIvarRefExpr() local 7643 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, in RewriteObjCIvarRefExpr()
|
D | RewriteObjC.cpp | 2509 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, SourceLocation(), in RewriteObjCStringLiteral() local 2512 DeclRefExpr *DRE = new (Context) DeclRefExpr(NewVD, false, strType, VK_LValue, in RewriteObjCStringLiteral() 4462 VarDecl *NewVD = VarDecl::Create(*Context, TUDecl, in SynthBlockInitExpr() local 4468 new (Context) UnaryOperator(new (Context) DeclRefExpr(NewVD, false, in SynthBlockInitExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 1534 bool CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous); 1535 void CheckVariableDeclarationType(VarDecl *NewVD);
|