Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp101 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp369 if (VD->hasGlobalStorage() && in observeStmt()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h193 else if (VD->hasGlobalStorage()) in VisitVarRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp165 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
H A DMemRegion.cpp850 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
/freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp271 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp181 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp45 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDeclCXX.cpp30 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCodeGenModule.cpp2332 SafeToInline = !V->hasGlobalStorage() || V->hasAttr<DLLImportAttr>(); in VisitDeclRefExpr()
3287 assert(D->hasGlobalStorage() && "Not a global variable"); in GetAddrOfGlobalVar()
H A DCGStmtOpenMP.cpp1498 VD->hasGlobalStorage()) { in EmitOMPPrivateLoopCounters()
1633 OrigVD->hasGlobalStorage() || CED) { in EmitOMPSimdFinal()
H A DCGExpr.cpp2201 if (VD->hasGlobalStorage()) { in setObjCGCLValueClass()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaCUDA.cpp477 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage()) in checkAllowedCUDAInitializer()
H A DSemaStmt.cpp780 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
1533 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
H A DSemaDeclAttr.cpp4206 if (!VD->hasGlobalStorage()) { in handleConstantAttr()
6062 return S->hasGlobalStorage(); in isGlobalVar()
6206 if (!cast<VarDecl>(D)->hasGlobalStorage()) { in handleDestroyAttr()
H A DSemaOpenMP.cpp750 if (VD && VD->hasGlobalStorage()) in getDSA()
1834 return VD->hasGlobalStorage() && in ValidateCandidate()
1895 if (!VD->hasGlobalStorage()) { in ActOnOpenMPIdExpression()
2240 if (VD->hasGlobalStorage() && !CS->capturesVariable(VD) && in VisitDeclRefExpr()
H A DSemaDecl.cpp6978 if (D->hasGlobalStorage()) in getShadowedDeclaration()
7436 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType()
11826 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration()
12018 if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() && in FinalizeDeclaration()
H A DSemaDeclCXX.cpp13071 if (!VD->hasGlobalStorage()) return; in FinalizeVarWithDestructor()
14900 return Var->hasGlobalStorage(); in isNonlocalVariable()
H A DSemaInit.cpp8044 if (!Var->hasGlobalStorage()) { in Perform()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/
H A DASTMatchers.h3412 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
3413 return Node.hasGlobalStorage(); in AST_MATCHER()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DAttr.td113 [{S->hasGlobalStorage() && !S->getTLSKind()}],
117 [{S->hasGlobalStorage()}], "global variables">;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h1078 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage() function
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DDecl.cpp2481 return hasGlobalStorage() && (hasAttr<NoDestroyAttr>() || in isNoDestroy()
H A DExpr.cpp2511 if (VD->hasGlobalStorage()) in isOBJCGCCandidate()
H A DASTContext.cpp1613 if (VD->hasGlobalStorage() && !ForAlignof) in getDeclAlign()

12