/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NonnullGlobalConstantsChecker.cpp | 104 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
|
H A D | DeadStoresChecker.cpp | 425 if (VD->hasGlobalStorage() && in observeStmt()
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 117 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
|
H A D | Decl.h | 1185 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 577 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer() 610 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedCUDAInitializer()
|
H A D | SemaStmt.cpp | 1169 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum() 1921 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
|
H A D | SemaDecl.cpp | 6885 Var->hasGlobalStorage()) in deduceOpenCLAddressSpace() 7297 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes() 7769 if (!NewVD->hasGlobalStorage()) in ActOnVariableDeclarator() 8136 if (D->hasGlobalStorage()) in getShadowedDeclaration() 8604 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType() 14046 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration() 14261 if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() && in FinalizeDeclaration()
|
H A D | SemaOpenMP.cpp | 1291 if (VD && VD->hasGlobalStorage()) in getDSA() 2991 return VD->hasGlobalStorage() && in ValidateCandidate() 3063 if (Kind == OMPD_threadprivate && !VD->hasGlobalStorage()) { in ActOnOpenMPIdExpression() 3422 if (Allocator && VD->hasGlobalStorage()) { in ActOnOpenMPAllocateDirective() 3755 if (VD->hasGlobalStorage() && CS && !CS->capturesVariable(VD) && in VisitDeclRefExpr() 22957 VD->hasGlobalStorage()) { in checkDeclInTargetContext()
|
H A D | SemaDeclAttr.cpp | 8090 return S->hasGlobalStorage(); in isGlobalVar() 8296 if (!cast<VarDecl>(D)->hasGlobalStorage()) { in handleDestroyAttr()
|
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/ |
H A D | SValExplainer.h | 217 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
|
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
H A D | Transfer.cpp | 217 if (D.hasGlobalStorage()) in VisitDeclStmt() 473 if (D->hasGlobalStorage()) { in VisitMemberExpr()
|
H A D | DataflowEnvironment.cpp | 162 if (V->hasGlobalStorage()) in insertIfGlobal()
|
/openbsd/gnu/llvm/clang/lib/AST/Interp/ |
H A D | ByteCodeExprGen.h | 233 return VD->hasGlobalStorage() || VD->isConstexpr(); in shouldBeGloballyIndexed()
|
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopUnrolling.cpp | 202 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
|
H A D | RegionStore.cpp | 1745 (!B.isMainAnalysis() || !VD->hasGlobalStorage())) in getConstantValFromConstArrayInitializer() 1991 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
|
H A D | MemRegion.cpp | 991 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 138 return D->hasGlobalStorage(); in isAlwaysAlive()
|
H A D | UninitializedValues.cpp | 44 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
|
/openbsd/gnu/llvm/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 315 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGDeclCXX.cpp | 32 (D.hasGlobalStorage() || in EmitDeclInit()
|
H A D | CGDecl.cpp | 1148 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom() 2654 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
|
H A D | CodeGenModule.cpp | 3491 SafeToInline = !V->hasGlobalStorage() || V->hasAttr<DLLImportAttr>(); in VisitDeclRefExpr() 4619 assert(D->hasGlobalStorage() && "Not a global variable"); in GetAddrOfGlobalVar()
|
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 4327 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument 4328 return Node.hasGlobalStorage(); in AST_MATCHER()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | Decl.cpp | 2555 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization() 2741 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | Attr.td | 130 [{S->hasGlobalStorage() && !S->getTLSKind()}], 134 [{S->hasGlobalStorage()}], "global variables">; 137 [{S->hasGlobalStorage() &&
|