Home
last modified time | relevance | path

Searched refs:getAnyInitializer (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerHelpers.cpp98 RHS = VD->getAnyInitializer(); in parseAssignment()
H A DRegionStore.cpp1744 const Expr *Init = VD->getAnyInitializer(VD); in getConstantValFromConstArrayInitializer()
1979 if (const Expr *Init = VD->getAnyInitializer()) in getBindingForField()
2201 if (const Expr *Init = VD->getAnyInitializer()) { in getBindingForVar()
2222 if (const Expr *Init = VD->getAnyInitializer()) in getBindingForVar()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.cpp87 VD && !VD->getAnyInitializer()) in diagnoseUnknownDecl()
101 !VarD->getAnyInitializer()) { in diagnoseNonConstVariable()
480 if (VD->getAnyInitializer()) { in CheckInitialized()
H A DEvalEmitter.cpp62 if (const Expr *Init = VD->getAnyInitializer()) { in interpretDecl()
H A DEvaluationResult.cpp163 InitLoc = cast<VarDecl>(D)->getAnyInitializer()->getExprLoc(); in checkFullyInitialized()
H A DCompiler.cpp3625 if (!this->visit(VD->getAnyInitializer())) in visitDeclAndReturn()
5245 VD && VD->getAnyInitializer() && in visitDeclRef()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp292 if (VD->getAnyInitializer()) in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1306 const Expr *getAnyInitializer() const { in getAnyInitializer() function
1308 return getAnyInitializer(D); in getAnyInitializer()
1313 const Expr *getAnyInitializer(const VarDecl *&D) const;
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DComputeDependence.cpp574 if (const Expr *Init = Var->getAnyInitializer()) { in computeDependence()
H A DDecl.cpp2370 const Expr *VarDecl::getAnyInitializer(const VarDecl *&D) const { in getAnyInitializer() function in VarDecl
2498 const Expr *Init = getAnyInitializer(DefVD); in isUsableInConstantExpressions()
H A DASTImporter.cpp2336 if (To->getAnyInitializer()) in ImportInitializer()
4500 if (D->getInit() && FoundVar->getAnyInitializer(FoundDInit)) in VisitVarDecl()
H A DExprConstant.cpp3378 const Expr *Init = VD->getAnyInitializer(VD); in evaluateVarDeclInit()
9043 const Expr *Init = VD->getAnyInitializer(); in evaluateLValueAsAllocSize()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp5040 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in GetOrCreateLLVMGlobal()
5425 const Expr *InitExpr = D->getAnyInitializer(InitDecl); in EmitGlobalVarDefinition()
6670 if (VD->isStaticDataMember() && VD->getAnyInitializer(InitVD) && in GetAddrOfGlobalTemporary()
7497 VD->getAnyInitializer() && in EmitOMPThreadPrivateDecl()
7498 !VD->getAnyInitializer()->isConstantInitializer(getContext(), in EmitOMPThreadPrivateDecl()
H A DCGOpenMPRuntime.cpp1653 const Expr *Init = VD->getAnyInitializer(); in emitThreadPrivateVarDefinition()
3294 const Expr *Init = VD->getAnyInitializer(); in emitPrivatesInit()
3382 const Expr *Init = VD->getAnyInitializer(); in checkInitIsRequired()
H A DCGExpr.cpp3001 VD->getAnyInitializer(VD); in EmitDeclRefLValue()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4340 const Expr *Initializer = Node.getAnyInitializer(); in AST_MATCHER_P()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp8533 const Expr *Init = Var->getAnyInitializer(DefVD); in VariableCanNeverBeAConstantExpression()
H A DSemaChecking.cpp5774 if (const Expr *Init = VD->getAnyInitializer()) { in checkFormatStringExpr()
H A DSemaDecl.cpp13905 if (!Var->isStaticDataMember() || !Var->getAnyInitializer()) in ActOnUninitializedDecl()
H A DSemaOpenMP.cpp3316 if (const Expr *Init = VD->getAnyInitializer()) { in CheckOMPThreadPrivateDecl()