Home
last modified time | relevance | path

Searched refs:hasGlobalStorage (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp102 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp430 if (VD->hasGlobalStorage() && in observeStmt()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h116 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
H A DDecl.h1141 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp580 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer()
611 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedCUDAInitializer()
H A DSemaStmt.cpp1132 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1884 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
H A DSemaDecl.cpp6432 Var->hasGlobalStorage()) in deduceOpenCLAddressSpace()
6829 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes()
7271 if (!NewVD->hasGlobalStorage()) in ActOnVariableDeclarator()
7637 if (D->hasGlobalStorage()) in getShadowedDeclaration()
8107 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType()
13165 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration()
13360 if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() && in FinalizeDeclaration()
H A DSemaOpenMP.cpp1170 if (VD && VD->hasGlobalStorage()) in getDSA()
2754 return VD->hasGlobalStorage() && in ValidateCandidate()
2827 if (Kind == OMPD_threadprivate && !VD->hasGlobalStorage()) { in ActOnOpenMPIdExpression()
3170 if (Allocator && VD->hasGlobalStorage()) { in ActOnOpenMPAllocateDirective()
3499 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
20509 VD->hasGlobalStorage()) { in checkDeclInTargetContext()
H A DSemaDeclAttr.cpp7388 return S->hasGlobalStorage(); in isGlobalVar()
7552 if (!cast<VarDecl>(D)->hasGlobalStorage()) { in handleDestroyAttr()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h194 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp199 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
H A DRegionStore.cpp1666 (B.isMainAnalysis() && VD->hasGlobalStorage())) { in getBindingForElement()
1759 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
H A DMemRegion.cpp947 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp132 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp45 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp307 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp31 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCGDecl.cpp1133 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom()
2630 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
H A DCodeGenModule.cpp3086 SafeToInline = !V->hasGlobalStorage() || V->hasAttr<DLLImportAttr>(); in VisitDeclRefExpr()
4098 assert(D->hasGlobalStorage() && "Not a global variable"); in GetAddrOfGlobalVar()
H A DCGStmtOpenMP.cpp2225 VD->hasGlobalStorage()) { in EmitOMPPrivateLoopCounters()
2388 OrigVD->hasGlobalStorage() || CED) { in EmitOMPSimdFinal()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4243 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
4244 return Node.hasGlobalStorage(); in AST_MATCHER()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp2474 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization()
2653 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
H A DExpr.cpp2859 if (VD->hasGlobalStorage()) in isOBJCGCCandidate()
H A DItaniumMangle.cpp2128 if ((isa<VarDecl>(Context) && cast<VarDecl>(Context)->hasGlobalStorage()) || in getClosurePrefix()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td115 [{S->hasGlobalStorage() && !S->getTLSKind()}],
119 [{S->hasGlobalStorage()}], "global variables">;

12