Home
last modified time | relevance | path

Searched refs:hasInit (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DStmtIterator.cpp49 if (VD->hasInit()) in NextVA()
H A DDeclOpenMP.cpp188 assert(hasInit()); in getSourceRange()
H A DComputeDependence.cpp515 !Var->getFirstDecl()->hasInit()) { in computeDependence()
520 } else if (!First->hasInit()) { in computeDependence()
H A DDecl.cpp2149 (hasInit() || in isThisDeclarationADefinition()
2170 if (hasInit()) in isThisDeclarationADefinition()
2262 bool VarDecl::hasInit() const { in hasInit() function in VarDecl
2271 if (!hasInit()) in getInit()
2290 if (I->hasInit()) in getInitializingDeclaration()
H A DTextNodeDumper.cpp1693 if (D->hasInit()) { in VisitVarDecl()
1711 if (D->hasInit()) { in VisitVarDecl()
H A DODRHash.cpp297 const bool HasInit = D->hasInit(); in VisitVarDecl()
H A DJSONNodeDumper.cpp779 if (VD->hasInit()) { in VisitVarDecl()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-extdef-mapping/
H A DClangExtDefMapGen.cpp67 if (cross_tu::containsConst(VD, Ctx) && VD->hasInit()) in handleDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTNodeTraverser.h430 if (D->hasInit()) in VisitVarDecl()
H A DDecl.h1256 bool hasInit() const;
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp553 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage()) in checkAllowedCUDAInitializer()
H A DSemaTemplateInstantiateDecl.cpp3348 IsCorrect = IsCorrect && OldPrivParm->hasInit(); in VisitOMPDeclareReductionDecl()
5154 if (OldVar->getFirstDecl()->hasInit()) in InstantiateVariableInitializer()
5214 (PatternDecl = PatternDecl->getFirstDecl())->hasInit() && in InstantiateVariableDefinition()
5215 !Var->hasInit()) { in InstantiateVariableDefinition()
H A DSemaDecl.cpp2861 (NewVD->hasInit() || NewVD->isThisDeclarationADefinition())) in mergeDeclAttributes()
6412 if (VD->hasInit()) { in checkAttributesAfterMerging()
12192 if (VDecl->isStaticDataMember() && VDecl->getCanonicalDecl()->hasInit()) { in AddInitializerToDecl()
12964 !var->hasInit()) { in CheckCompleteVariableDeclaration()
13036 } else if (getLangOpts().CPlusPlus && var->hasInit()) { in CheckCompleteVariableDeclaration()
13088 if (!var->getType()->isStructureType() && var->hasInit() && in CheckCompleteVariableDeclaration()
13562 if (DeducedDecl->hasInit()) in BuildDeclaratorGroup()
14736 Var->hasAttr<AsmLabelAttr>() && !Var->hasInit(); in ActOnFinishFunctionBody()
H A DSemaOpenMP.cpp7579 if (Var->hasInit() && !Var->getType()->isReferenceType()) { in checkAndSetInit()
16507 if (VD->getType()->isReferenceType() && VDDef && VDDef->hasInit()) { in actOnOMPReductionKindClause()
16820 if (!RHSVD->hasInit() && DeclareReductionRef.isUnset()) { in actOnOMPReductionKindClause()
19499 } else if (OmpPrivParm->hasInit()) { in ActOnOpenMPDeclareReductionInitializerEnd()
H A DSemaExpr.cpp1956 if (!S.getLangOpts().CUDA || !VD->hasInit()) in isCapturingReferenceToHostVarInCUDADeviceLambda()
5650 assert(Param->hasInit() && "default argument but no initializer?"); in CheckCXXDefaultArgExpr()
17134 !(Var->isStaticDataMember() && Var->hasInit())) { in MarkVarDeclODRUsed()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp312 REGISTER_MATCHER(hasInit); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DConsumed.cpp918 if (Var->hasInit()) { in VisitVarDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp5091 bool hasInit = (ND->getInit() != nullptr); in RewriteByRefVar() local
5094 if (hasInit) in RewriteByRefVar()
5098 hasInit = false; in RewriteByRefVar()
5138 if (!hasInit) { in RewriteByRefVar()
H A DRewriteObjC.cpp4249 bool hasInit = (ND->getInit() != nullptr); in RewriteByRefVar() local
4258 if (!hasInit) { in RewriteByRefVar()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp2959 cast<VarDecl>(Global)->hasInit()) { in EmitGlobal()
3831 OtherD->hasInit() && in GetOrCreateLLVMGlobal()
3930 !D->hasDefinition() && D->hasInit() && !D->hasAttr<DLLImportAttr>()) { in GetOrCreateLLVMGlobal()
H A DCGOpenMPRuntime.cpp783 DRD && (DRD->getInitializer() || !PrivateVD->hasInit()); in emitAggregateInitialization()
902 } else if (DRD && (DRD->getInitializer() || !PrivateVD->hasInit())) { in emitInitialization()
907 } else if (!DefaultInit(CGF) && PrivateVD->hasInit() && in emitInitialization()
1156 if (!IsCombiner && Out->hasInit() && in emitCombinerOrInitializer()
H A DItaniumCXXABI.cpp355 if (!InitDecl->hasInit()) in isEmittedWithConstantInitializer()
H A DCGOpenMPRuntimeGPU.cpp283 if (!isa<ParmVarDecl>(VarD) && VarD->hasInit()) { in VisitValueDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4354 AST_MATCHER_P2(InitListExpr, hasInit, unsigned, N, in AST_MATCHER_P2() argument

12