Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp102 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp430 if (VD->hasGlobalStorage() && in observeStmt()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DGlobalDecl.h116 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
H A DDecl.h1115 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h194 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp164 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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DLiveVariables.cpp132 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp45 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp553 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage()) in checkAllowedCUDAInitializer()
H A DSemaStmt.cpp1132 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1883 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
H A DSemaDecl.cpp6365 Var->hasGlobalStorage()) in deduceOpenCLAddressSpace()
6762 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes()
7205 if (!NewVD->hasGlobalStorage()) in ActOnVariableDeclarator()
7571 if (D->hasGlobalStorage()) in getShadowedDeclaration()
8048 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType()
13051 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration()
13303 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()
20121 VD->hasGlobalStorage()) { in checkDeclInTargetContext()
H A DSemaDeclAttr.cpp7275 return S->hasGlobalStorage(); in isGlobalVar()
7430 if (!cast<VarDecl>(D)->hasGlobalStorage()) { in handleDestroyAttr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp307 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDeclCXX.cpp31 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCGDecl.cpp1128 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom()
2623 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
H A DCodeGenModule.cpp3056 SafeToInline = !V->hasGlobalStorage() || V->hasAttr<DLLImportAttr>(); in VisitDeclRefExpr()
4068 assert(D->hasGlobalStorage() && "Not a global variable"); in GetAddrOfGlobalVar()
H A DCGStmtOpenMP.cpp2217 VD->hasGlobalStorage()) { in EmitOMPPrivateLoopCounters()
2383 OrigVD->hasGlobalStorage() || CED) { in EmitOMPSimdFinal()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4231 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
4232 return Node.hasGlobalStorage(); in AST_MATCHER()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDecl.cpp2482 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus) in hasConstantInitialization()
2660 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
H A DItaniumMangle.cpp2121 if ((isa<VarDecl>(Context) && cast<VarDecl>(Context)->hasGlobalStorage()) || in getClosurePrefix()
H A DExpr.cpp2787 if (VD->hasGlobalStorage()) in isOBJCGCCandidate()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttr.td115 [{S->hasGlobalStorage() && !S->getTLSKind()}],
119 [{S->hasGlobalStorage()}], "global variables">;

12