Searched refs:InitDecl (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/ |
| D | SemaExprCXX.cpp | 8143 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()
|
| D | SemaDecl.cpp | 2831 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/ |
| D | ItaniumCXXABI.cpp | 356 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()
|
| D | CodeGenModule.cpp | 3965 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/ |
| D | Sema.h | 4228 Expr *E, VarDecl *InitDecl = nullptr, 4234 ExprResult ER, VarDecl *InitDecl = nullptr, 4240 : CorrectDelayedTyposInExpr(ER.get(), InitDecl,
|