Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DContext.h102 return V->hasGlobalStorage() || V->isConstexpr(); in shouldBeGloballyIndexed()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNonnullGlobalConstantsChecker.cpp103 if (!Decl->hasGlobalStorage()) in isGlobalConstString()
H A DDeadStoresChecker.cpp424 if (VD->hasGlobalStorage() && in observeStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h120 cast<VarDecl>(getDecl())->hasGlobalStorage() && in getDynamicInitKind()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp122 if (VD && VD->hasGlobalStorage() && !VD->isStaticLocal()) { in CUDATargetContextRAII()
643 assert(!VD->isInvalidDecl() && VD->hasGlobalStorage()); in HasAllowedCUDADeviceStaticInitializer()
693 if (VD->isInvalidDecl() || !VD->hasInit() || !VD->hasGlobalStorage() || in checkAllowedInitializer()
H A DSemaHLSL.cpp3579 if (VD->hasGlobalStorage()) { in ActOnVariableDeclarator()
3702 if (VD->hasGlobalStorage() && VD->getType()->isHLSLResourceRecord()) in ActOnUninitializedVarDecl()
3711 assert(VD->hasGlobalStorage() && VD->getType()->isHLSLIntangibleType() && in collectResourceBindingsOnVarDecl()
3746 assert(VD->hasGlobalStorage() && "expected global variable"); in processExplicitBindingsOnDecl()
H A DSemaDecl.cpp6947 Var->hasGlobalStorage()) in deduceOpenCLAddressSpace()
7411 if (NewVD->hasGlobalStorage() && !NewVD->isStaticLocal()) { in diagnoseOpenCLTypes()
7940 if (!NewVD->hasGlobalStorage()) in ActOnVariableDeclarator()
8335 if (D->hasGlobalStorage() && !D->isStaticLocal()) in getShadowedDeclaration()
8889 (T->isVariableArrayType() && NewVD->hasGlobalStorage())) { in CheckVariableDeclarationType()
14691 bool GlobalStorage = var->hasGlobalStorage(); in CheckCompleteVariableDeclaration()
14932 if (VD->hasGlobalStorage() && VD->isThisDeclarationADefinition() && in FinalizeDeclaration()
15101 VD->hasGlobalStorage()) in FinalizeDeclaratorGroup()
H A DSemaStmt.cpp1261 if (VD->hasGlobalStorage() && VarType.isConstQualified() && in ShouldDiagnoseSwitchCaseNotInEnum()
2053 if (VD->getType().isVolatileQualified() || VD->hasGlobalStorage()) in CheckForLoopConditionalStatement()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp34 if (VD->hasGlobalStorage() && QT.isConstQualified()) { in tryToFindPtrOrigin()
H A DRawPtrRefLocalVarsChecker.cpp373 else if (V->hasGlobalStorage()) in reportBug()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp239 if (D.hasGlobalStorage()) in ProcessVarDecl()
484 if (D->hasGlobalStorage()) { in VisitMemberExpr()
H A DASTOps.cpp169 if (V->hasGlobalStorage()) in insertIfGlobal()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h228 else if (VD->hasGlobalStorage()) in VisitNonParamVarRegion()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DLoopUnrolling.cpp213 if (VD->hasGlobalStorage()) in isPossiblyEscaped()
H A DRegionStore.cpp1891 (!B.isMainAnalysis() || !VD->hasGlobalStorage())) in getConstantValFromConstArrayInitializer()
2137 (B.isMainAnalysis() && VD->hasGlobalStorage())) in getBindingForField()
H A DMemRegion.cpp1068 if (D->hasGlobalStorage() && !D->isStaticLocal()) { in getVarRegion()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp139 return D->hasGlobalStorage(); in isAlwaysAlive()
H A DUninitializedValues.cpp59 if (vd->isLocalVarDecl() && !vd->hasGlobalStorage() && in isTrackedVar()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenModule.cpp626 assert(d->hasGlobalStorage() && "Not a global variable"); in getOrCreateCIRGlobal()
644 assert(d->hasGlobalStorage() && "Not a global variable"); in getAddrOfGlobalVar()
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp327 REGISTER_MATCHER(hasGlobalStorage); in RegistryMaps()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDeclCXX.cpp33 (D.hasGlobalStorage() || in EmitDeclInit()
H A DCGDecl.cpp1155 if (D.hasGlobalStorage()) in createUnnamedGlobalFrom()
2900 if (!VD->hasGlobalStorage()) in EmitOMPAllocateDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4516 AST_MATCHER(VarDecl, hasGlobalStorage) { in AST_MATCHER() argument
4517 return Node.hasGlobalStorage(); in AST_MATCHER()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td140 [{S->hasGlobalStorage() && !S->getTLSKind()}],
144 : SubsetSubject<Var, [{S->hasGlobalStorage() &&
150 [{S->hasGlobalStorage()}], "global variables">;
153 [{S->hasGlobalStorage() &&
159 [{S->hasGlobalStorage() &&
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp2651 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus && in hasConstantInitialization()
2836 if (!hasGlobalStorage()) in isNoDestroy()

12