| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | NonnullGlobalConstantsChecker.cpp | 102 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
|
| H A D | DeadStoresChecker.cpp | 430 if (VD->hasGlobalStorage() && in observeStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 116 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
|
| H A D | Decl.h | 1141 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 580 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer() 611 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedCUDAInitializer()
|
| H A D | SemaStmt.cpp | 1132 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum() 1884 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
|
| H A D | SemaDecl.cpp | 6432 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 D | SemaOpenMP.cpp | 1170 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 D | SemaDeclAttr.cpp | 7388 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 D | SValExplainer.h | 194 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | LoopUnrolling.cpp | 199 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
|
| H A D | RegionStore.cpp | 1666 (B.isMainAnalysis() && VD->hasGlobalStorage())) { in getBindingForElement() 1759 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
|
| H A D | MemRegion.cpp | 947 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | LiveVariables.cpp | 132 return D->hasGlobalStorage(); in isAlwaysAlive()
|
| H A D | UninitializedValues.cpp | 45 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 307 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 31 (D.hasGlobalStorage() || in EmitDeclInit()
|
| H A D | CGDecl.cpp | 1133 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom() 2630 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
|
| H A D | CodeGenModule.cpp | 3086 SafeToInline = !V->hasGlobalStorage() || V->hasAttr<DLLImportAttr>(); in VisitDeclRefExpr() 4098 assert(D->hasGlobalStorage() && "Not a global variable"); in GetAddrOfGlobalVar()
|
| H A D | CGStmtOpenMP.cpp | 2225 VD->hasGlobalStorage()) { in EmitOMPPrivateLoopCounters() 2388 OrigVD->hasGlobalStorage() || CED) { in EmitOMPSimdFinal()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4243 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 D | Decl.cpp | 2474 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization() 2653 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
|
| H A D | Expr.cpp | 2859 if (VD->hasGlobalStorage()) in isOBJCGCCandidate()
|
| H A D | ItaniumMangle.cpp | 2128 if ((isa<VarDecl>(Context) && cast<VarDecl>(Context)->hasGlobalStorage()) || in getClosurePrefix()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 115 [{S->hasGlobalStorage() && !S->getTLSKind()}], 119 [{S->hasGlobalStorage()}], "global variables">;
|