Home
last modified time | relevance | path

Searched refs:InitDecl (Results 1 – 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
DSemaExprCXX.cpp8143 VarDecl *InitDecl; // A decl to avoid as a correction because it is in the member in __anon43e0309f1111::TransformTypos
8381 TransformTypos(Sema &SemaRef, VarDecl *InitDecl, llvm::function_ref<ExprResult(Expr *)> Filter) in TransformTypos() argument
8382 : BaseTransform(SemaRef), InitDecl(InitDecl), ExprFilter(Filter) {} in TransformTypos()
8433 if (InitDecl && TC.getFoundDecl() == InitDecl) in TransformTypoExpr()
8462 Sema::CorrectDelayedTyposInExpr(Expr *E, VarDecl *InitDecl, in CorrectDelayedTyposInExpr() argument
8472 auto Result = TransformTypos(*this, InitDecl, Filter).Transform(E); in CorrectDelayedTyposInExpr()
DSemaDecl.cpp2831 static void diagnoseMissingConstinit(Sema &S, const VarDecl *InitDecl, in diagnoseMissingConstinit() argument
2834 SourceLocation InsertLoc = InitDecl->getInnerLocStart(); in diagnoseMissingConstinit()
2867 S.Diag(InitDecl->getLocation(), diag::ext_constinit_missing) in diagnoseMissingConstinit()
2868 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling); in diagnoseMissingConstinit()
2877 S.Diag(InitDecl->getLocation(), diag::note_constinit_missing_here) in diagnoseMissingConstinit()
2911 const VarDecl *InitDecl = OldVD->getInitializingDeclaration(); in mergeDeclAttributes() local
2912 if (!InitDecl && in mergeDeclAttributes()
2914 InitDecl = NewVD; in mergeDeclAttributes()
2916 if (InitDecl == NewVD) { in mergeDeclAttributes()
2927 if (InitDecl && InitDecl != NewVD) { in mergeDeclAttributes()
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DItaniumCXXABI.cpp356 const VarDecl *InitDecl = VD->getInitializingDeclaration(); in isEmittedWithConstantInitializer() local
357 if (!InitDecl) in isEmittedWithConstantInitializer()
361 if (!InitDecl->hasInit()) in isEmittedWithConstantInitializer()
367 return !VD->needsDestruction(getContext()) && InitDecl->evaluateValue(); in isEmittedWithConstantInitializer()
374 return InitDecl->hasConstantInitialization(); in isEmittedWithConstantInitializer()
DCodeGenModule.cpp3965 const VarDecl *InitDecl; in GetOrCreateLLVMGlobal() local
3966 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in GetOrCreateLLVMGlobal()
3969 llvm::Constant *Init = emitter.tryEmitForInitializer(*InitDecl); in GetOrCreateLLVMGlobal()
4317 const VarDecl *InitDecl; in EmitGlobalVarDefinition() local
4318 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in EmitGlobalVarDefinition()
4358 llvm::Constant *Initializer = emitter->tryEmitForInitializer(*InitDecl); in EmitGlobalVarDefinition()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Sema/
DSema.h4228 Expr *E, VarDecl *InitDecl = nullptr,
4234 ExprResult ER, VarDecl *InitDecl = nullptr,
4240 : CorrectDelayedTyposInExpr(ER.get(), InitDecl,