Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp104 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp425 if (VD->hasGlobalStorage() && in observeStmt()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DGlobalDecl.h117 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
H A DDecl.h1185 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaCUDA.cpp577 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer()
610 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedCUDAInitializer()
H A DSemaStmt.cpp1169 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1921 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
H A DSemaDecl.cpp6885 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 DSemaOpenMP.cpp1291 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 DSemaDeclAttr.cpp8090 return S->hasGlobalStorage(); in isGlobalVar()
8296 if (!cast<VarDecl>(D)->hasGlobalStorage()) { in handleDestroyAttr()
/openbsd/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h217 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
/openbsd/gnu/llvm/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp217 if (D.hasGlobalStorage()) in VisitDeclStmt()
473 if (D->hasGlobalStorage()) { in VisitMemberExpr()
H A DDataflowEnvironment.cpp162 if (V->hasGlobalStorage()) in insertIfGlobal()
/openbsd/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeExprGen.h233 return VD->hasGlobalStorage() || VD->isConstexpr(); in shouldBeGloballyIndexed()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp202 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
H A DRegionStore.cpp1745 (!B.isMainAnalysis() || !VD->hasGlobalStorage())) in getConstantValFromConstArrayInitializer()
1991 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
H A DMemRegion.cpp991 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A DLiveVariables.cpp138 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp44 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/openbsd/gnu/llvm/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp315 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGDeclCXX.cpp32 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCGDecl.cpp1148 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom()
2654 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
H A DCodeGenModule.cpp3491 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 DASTMatchers.h4327 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
4328 return Node.hasGlobalStorage(); in AST_MATCHER()
/openbsd/gnu/llvm/clang/lib/AST/
H A DDecl.cpp2555 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization()
2741 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DAttr.td130 [{S->hasGlobalStorage() && !S->getTLSKind()}],
134 [{S->hasGlobalStorage()}], "global variables">;
137 [{S->hasGlobalStorage() &&

12