Home
last modified time | relevance | path

Searched refs:isLocalVarDecl (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp56 if (!MaybeGuardian->isLocalVarDecl()) in isGuardedScopeEmbeddedInGuardianScope()
139 if (Init && V->isLocalVarDecl()) in checkASTDecl()
223 if (MaybeGuardian->isLocalVarDecl() && in visitVarDecl()
H A DASTUtils.cpp119 if (isa<ParmVarDecl>(D) || D->isLocalVarDecl()) in isASafeCallArg()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp61 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
H A DUnsafeBufferUsage.cpp2788 if (VD->isLocalVarDecl()) in fixVariable()
2795 if (VD->isLocalVarDecl() && in fixVariable()
3118 if ((!it->first->isLocalVarDecl() && !isa<ParmVarDecl>(it->first))) { in checkUnsafeBufferUsage()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp419 if (Kind == GuardKind::VariableGuard && !D->isLocalVarDecl()) { in EmitCXXGuardedInitBranch()
H A DItaniumCXXABI.cpp2619 (D.isLocalVarDecl() || NonTemplateInline) && in EmitGuardedInit()
2676 if (!D.isLocalVarDecl() && C && in EmitGuardedInit()
2791 } else if (!D.isLocalVarDecl()) { in EmitGuardedInit()
2809 } else if (D.isLocalVarDecl()) { in EmitGuardedInit()
H A DCGExprConstant.cpp2138 if (VD->isLocalVarDecl()) { in tryEmitBase()
H A DCGDecl.cpp163 assert(VD.isLocalVarDecl() && in EmitDecl()
H A DCGExpr.cpp2991 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1201 bool isLocalVarDecl() const { in isLocalVarDecl() function
1211 return isLocalVarDecl() || getKind() == Decl::ParmVar; in isLocalVarDeclOrParm()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp3692 bool NeedsOp = !Toplevel && VD->isLocalVarDecl() && VD->isStaticLocal(); in visitVarDecl()
5238 if ((VD->hasGlobalStorage() || VD->isLocalVarDecl() || in visitDeclRef()
H A DInterp.h2829 assert(VD->isLocalVarDecl() && in CheckDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp4413 Old->getType()->isDependentType()) && New->isLocalVarDecl()) { in MergeVarDeclTypes()
7958 NewVD->isLocalVarDecl() && NewVD->hasExternalStorage()) in ActOnVariableDeclarator()
8768 !NewVD->isLocalVarDecl() && in CheckVariableDeclarationType()
13327 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl()
13567 if (VDecl->isLocalVarDecl()) { in AddInitializerToDecl()
13920 if (!Type->isDependentType() && Var->isLocalVarDecl() && in ActOnUninitializedDecl()
H A DSemaOpenMP.cpp1330 if (VD && isOpenMPLocal(VD, Iter) && VD->isLocalVarDecl() && in getDSA()
1782 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
3186 if (CanonicalVD->isLocalVarDecl() && CurScope && in ActOnOpenMPIdExpression()
3303 !VD->isLocalVarDecl())) { in CheckOMPThreadPrivateDecl()
3472 !VD->isLocalVarDecl())) in ActOnOpenMPAllocateDirective()
3668 else if (VD && VD->isLocalVarDecl() && DVar.CKind == OMPC_private) { in reportOriginalDsa()
H A DSemaStmt.cpp2181 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
H A DSemaTemplateInstantiateDecl.cpp4566 return InstVD && InstVD->isLocalVarDecl() && in addInstantiatedLocalVarsToScope()
H A DSemaDeclCXX.cpp134 if (VD->isLocalVarDecl() && !DRE->isNonOdrUse()) in VisitDeclRefExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4187 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
H A DExprConstant.cpp5164 if (VD->isLocalVarDecl() && VD->isStaticLocal() && in CheckLocalVariableDeclaration()
9040 if (!VD || !VD->isLocalVarDecl() || !VD->getType().isConstQualified()) in evaluateLValueAsAllocSize()