| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/ |
| H A D | UnnecessaryCopyInitialization.cpp | 115 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 D | NoAutomaticMoveCheck.cpp | 29 varDecl(hasLocalStorage(), unless(hasType(lValueReferenceType())), in registerMatchers()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/darwin/ |
| H A D | DispatchOnceNonstaticCheck.cpp | 27 varDecl(hasLocalStorage(), hasType(asString("dispatch_once_t"))) in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefCapturedBlockVarChecker.cpp | 68 if (VD->hasAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
|
| H A D | DeadStoresChecker.cpp | 269 if (!VD->hasLocalStorage()) in CheckVarDecl() 381 if (V->hasLocalStorage()) { in observeStmt()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/ |
| H A D | DefinitionsInHeadersCheck.cpp | 147 if (VD->hasLocalStorage() || VD->isStaticLocal()) in check()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | VarBypassDetector.cpp | 37 if (VD && VD->hasLocalStorage()) { in BuildScopeInformation()
|
| H A D | CGDeclCXX.cpp | 32 (D.hasLocalStorage() && CGF.getContext().getLangOpts().OpenCLCPlusPlus)) && in EmitDeclInit()
|
| H A D | CGExprConstant.cpp | 1646 if (!D.hasLocalStorage()) { in tryEmitPrivateForVarInit() 1926 if (!VD->hasLocalStorage()) { in tryEmitBase()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | RedundantBranchConditionCheck.cpp | 46 varDecl(anyOf(parmVarDecl(), hasLocalStorage()), hasType(isInteger()), in registerMatchers()
|
| /llvm-project-15.0.7/clang/lib/AST/Interp/ |
| H A D | ByteCodeExprGen.cpp | 382 if (VD->hasLocalStorage() && VD->hasInit() && !VD->isConstexpr()) { in dereferenceVar() 489 if (!VD->hasLocalStorage()) { in getGlobalIdx()
|
| H A D | ByteCodeStmtGen.cpp | 237 if (!VD->hasLocalStorage()) { in visitVarDecl()
|
| H A D | Program.cpp | 159 IsStatic = !Var->hasLocalStorage(); in createGlobal()
|
| /llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | SValExplainer.h | 194 else if (VD->hasLocalStorage()) in VisitNonParamVarRegion()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | JumpDiagnostics.cpp | 160 if (VD->hasLocalStorage()) { in GetDiagForGotoScopeDecl() 184 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) { in GetDiagForGotoScopeDecl()
|
| H A D | SemaDecl.cpp | 6756 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 D | SemaDeclAttr.cpp | 4706 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 D | SemaStmt.cpp | 2148 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 D | ReachableCode.cpp | 282 if (!VD->hasLocalStorage()) in isConfigurationValue()
|
| H A D | AnalysisDeclContext.cpp | 612 if (!VD->hasLocalStorage()) { in VisitDeclRefExpr()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | MemRegion.cpp | 1008 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 D | Registry.cpp | 326 REGISTER_MATCHER(hasLocalStorage); in RegistryMaps()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | Decl.h | 1099 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 D | ComputeDependence.cpp | 68 if (!VarD || !VarD->hasLocalStorage()) in computeDependence()
|
| /llvm-project-15.0.7/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 4312 AST_MATCHER(VarDecl, hasLocalStorage) { in AST_MATCHER() argument 4313 return Node.hasLocalStorage(); in AST_MATCHER()
|