Searched refs:InitDecl (Results 1 – 5 of 5) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| H A D | ItaniumCXXABI.cpp | 350 const VarDecl *InitDecl = VD->getInitializingDeclaration(); in isEmittedWithConstantInitializer() local 351 if (!InitDecl) in isEmittedWithConstantInitializer() 355 if (!InitDecl->hasInit()) in isEmittedWithConstantInitializer() 361 return !VD->needsDestruction(getContext()) && InitDecl->evaluateValue(); in isEmittedWithConstantInitializer() 368 return InitDecl->hasConstantInitialization(); in isEmittedWithConstantInitializer()
|
| H A D | CodeGenModule.cpp | 3935 const VarDecl *InitDecl; in GetOrCreateLLVMGlobal() local 3936 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in GetOrCreateLLVMGlobal() 3939 llvm::Constant *Init = emitter.tryEmitForInitializer(*InitDecl); in GetOrCreateLLVMGlobal() 4287 const VarDecl *InitDecl; in EmitGlobalVarDefinition() local 4288 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in EmitGlobalVarDefinition() 4328 Init = emitter->tryEmitForInitializer(*InitDecl); in EmitGlobalVarDefinition()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 8066 VarDecl *InitDecl; // A decl to avoid as a correction because it is in the member in __anon6c647f321111::TransformTypos 8303 TransformTypos(Sema &SemaRef, VarDecl *InitDecl, llvm::function_ref<ExprResult(Expr *)> Filter) in TransformTypos() argument 8304 : BaseTransform(SemaRef), InitDecl(InitDecl), ExprFilter(Filter) {} in TransformTypos() 8355 if (InitDecl && TC.getFoundDecl() == InitDecl) in TransformTypoExpr() 8384 Sema::CorrectDelayedTyposInExpr(Expr *E, VarDecl *InitDecl, in CorrectDelayedTyposInExpr() argument 8394 auto Result = TransformTypos(*this, InitDecl, Filter).Transform(E); in CorrectDelayedTyposInExpr()
|
| H A D | SemaDecl.cpp | 2779 static void diagnoseMissingConstinit(Sema &S, const VarDecl *InitDecl, in diagnoseMissingConstinit() argument 2782 SourceLocation InsertLoc = InitDecl->getInnerLocStart(); in diagnoseMissingConstinit() 2815 S.Diag(InitDecl->getLocation(), diag::ext_constinit_missing) in diagnoseMissingConstinit() 2816 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling); in diagnoseMissingConstinit() 2825 S.Diag(InitDecl->getLocation(), diag::note_constinit_missing_here) in diagnoseMissingConstinit() 2859 const VarDecl *InitDecl = OldVD->getInitializingDeclaration(); in mergeDeclAttributes() local 2860 if (!InitDecl && in mergeDeclAttributes() 2862 InitDecl = NewVD; in mergeDeclAttributes() 2864 if (InitDecl == NewVD) { in mergeDeclAttributes() 2875 if (InitDecl && InitDecl != NewVD) { in mergeDeclAttributes() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 4194 Expr *E, VarDecl *InitDecl = nullptr, 4200 ExprResult ER, VarDecl *InitDecl = nullptr, 4206 : CorrectDelayedTyposInExpr(ER.get(), InitDecl,
|