Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLocalVarsChecker.cpp78 if (!MaybeGuardian->isLocalVarDecl()) in isGuardedScopeEmbeddedInGuardianScope()
199 if (MaybeGuardian->isLocalVarDecl() && in visitVarDecl()
219 if (!V->isLocalVarDecl()) in shouldSkipVarDecl()
H A DASTUtils.cpp85 if (isa<ParmVarDecl>(D) || D->isLocalVarDecl()) in isASafeCallArg()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DUninitializedValues.cpp61 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
H A DUnsafeBufferUsage.cpp2417 if (VD->isLocalVarDecl()) in fixVariable()
2736 if ((!it->first->isLocalVarDecl() && !isa<ParmVarDecl>(it->first))) { in checkUnsafeBufferUsage()
H A DThreadSafety.cpp1686 if (VD && VD->isLocalVarDecl() && VD->getType()->isReferenceType()) { in checkAccess()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp412 if (Kind == GuardKind::VariableGuard && !D->isLocalVarDecl()) { in EmitCXXGuardedInitBranch()
H A DItaniumCXXABI.cpp2432 (D.isLocalVarDecl() || NonTemplateInline) && in EmitGuardedInit()
2489 if (!D.isLocalVarDecl() && C && in EmitGuardedInit()
2604 } else if (!D.isLocalVarDecl()) { in EmitGuardedInit()
2622 } else if (D.isLocalVarDecl()) { in EmitGuardedInit()
H A DCGExprConstant.cpp1952 if (VD->isLocalVarDecl()) { in tryEmitBase()
H A DCGDecl.cpp160 assert(VD.isLocalVarDecl() && in EmitDecl()
H A DCGExpr.cpp2980 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in EmitDeclRefLValue()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h1237 bool isLocalVarDecl() const { in isLocalVarDecl() function
1247 return isLocalVarDecl() || getKind() == Decl::ParmVar; in isLocalVarDeclOrParm()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp4539 Old->getType()->isDependentType()) && New->isLocalVarDecl()) { in MergeVarDeclTypes()
8132 NewVD->isLocalVarDecl() && NewVD->hasExternalStorage()) in ActOnVariableDeclarator()
8920 !NewVD->isLocalVarDecl() && in CheckVariableDeclarationType()
13516 if (VDecl->isLocalVarDecl() && VDecl->hasExternalStorage()) { in AddInitializerToDecl()
13755 if (VDecl->isLocalVarDecl()) { in AddInitializerToDecl()
14115 if (!Type->isDependentType() && Var->isLocalVarDecl() && in ActOnUninitializedDecl()
H A DSemaOpenMP.cpp1325 if (VD && isOpenMPLocal(VD, Iter) && VD->isLocalVarDecl() && in getDSA()
1777 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) { in getTopDSA()
3148 if (CanonicalVD->isLocalVarDecl() && CurScope && in ActOnOpenMPIdExpression()
3263 !VD->isLocalVarDecl())) { in CheckOMPThreadPrivateDecl()
3433 !VD->isLocalVarDecl())) in ActOnOpenMPAllocateDirective()
3627 else if (VD && VD->isLocalVarDecl() && DVar.CKind == OMPC_private) { in reportOriginalDsa()
H A DSemaStmt.cpp2158 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
H A DSemaTemplateInstantiateDecl.cpp4560 return InstVD && InstVD->isLocalVarDecl() && in addInstantiatedLocalVarsToScope()
H A DSemaDeclCXX.cpp130 if (VD->isLocalVarDecl() && !DRE->isNonOdrUse()) in VisitDeclRefExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4105 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl()) in refersToGlobalRegisterVar()
H A DExprConstant.cpp5129 if (VD->isLocalVarDecl() && VD->isStaticLocal() && in CheckLocalVariableDeclaration()
8954 if (!VD || !VD->isLocalVarDecl() || !VD->getType().isConstQualified()) in evaluateLValueAsAllocSize()