Searched refs:NewVD (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/Sema/
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 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 DSemaOpenMP.cpp3128 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
[all...]
H A DSemaDeclAttr.cpp5604 VarDecl *NewVD = cast<VarDecl>(NewD); local
5605 NewVD->setQualifierInfo(VD->getQualifierLoc());
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 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,
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,
/external/clang/include/clang/Sema/
H A DSema.h1668 bool CheckVariableDeclaration(VarDecl *NewVD, LookupResult &Previous);
1669 void CheckVariableDeclarationType(VarDecl *NewVD);

Completed in 274 milliseconds