Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefLocalVarsChecker.cpp113 if (!MaybeGuardian->isLocalVarDecl()) in isGuardedScopeEmbeddedInGuardianScope()
220 if (Init && V->isLocalVarDecl()) in checkASTDecl()
322 if (MaybeGuardian->isLocalVarDecl() && in visitVarDecl()
H A DASTUtils.cpp192 if (isa<ParmVarDecl>(D) || D->isLocalVarDecl()) in isASafeCallArg()
204 if (VD && (isa<ParmVarDecl>(VD) || VD->isLocalVarDecl())) in isASafeCallArg()
H A DForwardDeclChecker.cpp79 if (V->isLocalVarDecl()) in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp613 assert(vd.isLocalVarDecl() && in emitDecl()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp59 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
H A DUnsafeBufferUsage.cpp3749 if (VD->isLocalVarDecl()) in fixVariable()
3756 if (VD->isLocalVarDecl() && Ctx.getAsConstantArrayType(VD->getType())) in fixVariable()
4052 if ((!it->first->isLocalVarDecl() && !isa<ParmVarDecl>(it->first))) { in applyGadgets()
H A DThreadSafety.cpp1725 if (VD && VD->isLocalVarDecl() && VD->getType()->isReferenceType()) { in checkAccess()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp1120 if (!Variable || !Variable->isLocalVarDecl() || !Variable->isConstexpr()) in recordPotentialODRUsedVariable()
H A DSemaDecl.cpp4507 Old->getType()->isDependentType()) && New->isLocalVarDecl()) { in MergeVarDeclTypes()
8147 NewVD->isLocalVarDecl() && NewVD->hasExternalStorage()) in ActOnVariableDeclarator()
8982 !NewVD->isLocalVarDecl() && in CheckVariableDeclarationType()
13678 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl()
13912 if (VDecl->isLocalVarDecl()) { in AddInitializerToDecl()
14253 if (!Type->isDependentType() && Var->isLocalVarDecl() && in ActOnUninitializedDecl()
H A DSemaOpenMP.cpp1308 if (VD && isOpenMPLocal(VD, Iter) && VD->isLocalVarDecl() && in getDSA()
1758 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
3170 if (CanonicalVD->isLocalVarDecl() && CurScope && in ActOnOpenMPIdExpression()
3289 !VD->isLocalVarDecl())) { in CheckOMPThreadPrivateDecl()
3458 !VD->isLocalVarDecl())) in ActOnOpenMPAllocateDirective()
3667 else if (VD && VD->isLocalVarDecl() && DVar.CKind == OMPC_private) { in reportOriginalDsa()
H A DSemaStmt.cpp2280 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) in ActOnForStmt()
H A DSemaTemplateInstantiateDecl.cpp5115 return InstVD && InstVD->isLocalVarDecl() && in addInstantiatedLocalVarsToScope()
H A DSemaDeclCXX.cpp131 if (VD->isLocalVarDecl() && !DRE->isNonOdrUse()) in VisitDeclRefExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp2647 (D.isLocalVarDecl() || NonTemplateInline) && in EmitGuardedInit()
2704 if (!D.isLocalVarDecl() && C && in EmitGuardedInit()
2819 } else if (!D.isLocalVarDecl()) { in EmitGuardedInit()
2837 } else if (D.isLocalVarDecl()) { in EmitGuardedInit()
H A DCGDeclCXX.cpp414 if (Kind == GuardKind::VariableGuard && !D->isLocalVarDecl()) { in EmitCXXGuardedInitBranch()
H A DCGExprConstant.cpp2251 if (VD->isLocalVarDecl()) { in tryEmitBase()
H A DCGDecl.cpp166 assert(VD.isLocalVarDecl() && in EmitDecl()
H A DCGExpr.cpp3142 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1232 bool isLocalVarDecl() const { in isLocalVarDecl() function
1242 return isLocalVarDecl() || getKind() == Decl::ParmVar; in isLocalVarDeclOrParm()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.cpp4670 bool NeedsOp = !Toplevel && VD->isLocalVarDecl() && VD->isStaticLocal(); in visitVarDecl()
6671 if (VD->isLocalVarDecl() && typeShouldBeVisited(VD->getType()) && in visitDeclRef()
H A DInterp.h3284 assert(VD->isLocalVarDecl() && in CheckDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4214 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
H A DExprConstant.cpp5435 if (VD->isLocalVarDecl() && VD->isStaticLocal() && in CheckLocalVariableDeclaration()
9461 if (!VD || !VD->isLocalVarDecl() || !VD->getType().isConstQualified()) in evaluateLValueAsAllocSize()