Home
last modified time | relevance | path

Searched refs:hasLocalStorage (Results 1 – 25 of 48) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DUnnecessaryCopyInitialization.cpp115 declRefExpr(to(varDecl(hasLocalStorage()).bind(OldVarDeclId))); in AST_MATCHER_FUNCTION_P()
233 has(varDecl(hasLocalStorage(), in registerMatchers()
261 to(varDecl(hasLocalStorage()).bind(OldVarDeclId)))), in registerMatchers()
H A DNoAutomaticMoveCheck.cpp29 varDecl(hasLocalStorage(), unless(hasType(lValueReferenceType())), in registerMatchers()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/darwin/
H A DDispatchOnceNonstaticCheck.cpp27 varDecl(hasLocalStorage(), hasType(asString("dispatch_once_t"))) in registerMatchers()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DUndefCapturedBlockVarChecker.cpp68 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
H A DDeadStoresChecker.cpp269 if (!VD->hasLocalStorage()) in CheckVarDecl()
381 if (V->hasLocalStorage()) { in observeStmt()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DDefinitionsInHeadersCheck.cpp147 if (VD->hasLocalStorage() || VD->isStaticLocal()) in check()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DVarBypassDetector.cpp37 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
H A DCGDeclCXX.cpp32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
H A DCGExprConstant.cpp1646 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit()
1926 if (!VD->hasLocalStorage()) { in tryEmitBase()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DRedundantBranchConditionCheck.cpp46 varDecl(anyOf(parmVarDecl(), hasLocalStorage()), hasType(isInteger()), in registerMatchers()
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar()
489 if (!VD->hasLocalStorage()) { in getGlobalIdx()
H A DByteCodeStmtGen.cpp237 if (!VD->hasLocalStorage()) { in visitVarDecl()
H A DProgram.cpp159 IsStatic = !Var->hasLocalStorage(); in createGlobal()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h194 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp160 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl()
184 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
H A DSemaDecl.cpp6756 else if (!var->hasLocalStorage()) in inferObjCARCLifetime()
7382 NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
7599 if (NewVD->hasLocalStorage() && in ActOnVariableDeclarator()
7685 else if (NewVD->hasLocalStorage()) in ActOnVariableDeclarator()
8353 if (!getLangOpts().OpenCL && NewVD->hasLocalStorage() && in CheckVariableDeclarationType()
8463 if (NewVD->hasLocalStorage() && T.isObjCGCWeak() in CheckVariableDeclarationType()
8543 if (!NewVD->hasLocalStorage() && T->isSizelessType()) { in CheckVariableDeclarationType()
12757 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
12938 if (VDecl->hasLocalStorage()) in AddInitializerToDecl()
13532 var->hasLocalStorage()) { in CheckCompleteVariableDeclaration()
[all …]
H A DSemaDeclAttr.cpp4706 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4726 if (VD->hasLocalStorage()) { in mergeInternalLinkageAttr()
4799 if (VD->hasLocalStorage()) { in handleConstantAttr()
4822 if (S.getLangOpts().CUDA && VD->hasLocalStorage() && in handleSharedAttr()
4864 if (VD->hasLocalStorage()) { in handleDeviceAttr()
4880 if (VD->hasLocalStorage()) { in handleManagedAttr()
6958 if (VD->hasLocalStorage()) { in handleDeclspecThreadAttr()
8115 if (!VD->hasLocalStorage()) { in handleObjCExternallyRetainedAttr()
H A DSemaStmt.cpp2148 if (VD->isLocalVarDecl() && !VD->hasLocalStorage()) { in ActOnForStmt()
2305 if (!D->hasLocalStorage()) in ActOnObjCForCollectionStmt()
3411 if (!VD->hasLocalStorage()) in getNamedReturnInfo()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DReachableCode.cpp282 if (!VD->hasLocalStorage()) in isConfigurationValue()
H A DAnalysisDeclContext.cpp612 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1008 if (D->hasLocalStorage()) { in getVarRegion()
1615 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) { in getCaptureRegions()
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp326 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDecl.h1099 bool hasLocalStorage() const { in hasLocalStorage() function
1141 bool hasGlobalStorage() const { return !hasLocalStorage(); } in hasGlobalStorage()
1145 return hasLocalStorage() ? SD_Automatic : in getStorageDuration()
/llvm-project-15.0.7/clang/lib/AST/
H A DComputeDependence.cpp68 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
/llvm-project-15.0.7/clang/include/clang/ASTMatchers/
H A DASTMatchers.h4312 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument
4313 return Node.hasLocalStorage(); in AST_MATCHER()

12