Home
last modified time | relevance | path

Searched refs:getStorageDuration (Results 1 – 25 of 36) sorted by relevance

12

/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DStaticallyConstructedObjectsCheck.cpp23 return Node.getStorageDuration() == SD_Static && !Node.isLocalVarDecl(); in AST_MATCHER()
/external/llvm-project/clang/lib/Analysis/
DConstructionContext.cpp56 MTE->getStorageDuration() != SD_FullExpression)) { in createMaterializedTemporaryFromLayers()
63 if (MTE->getStorageDuration() != SD_FullExpression) { in createMaterializedTemporaryFromLayers()
/external/llvm-project/clang-tools-extra/clang-tidy/cert/
DStaticObjectExceptionCheck.cpp47 << VD << (VD->getStorageDuration() == SD_Static ? 0 : 1); in check()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp269 assert(MTE->getStorageDuration() != SD_FullExpression); in computeObjectUnderConstruction()
280 if (MTE->getStorageDuration() == SD_Static || in computeObjectUnderConstruction()
281 MTE->getStorageDuration() == SD_Thread) in computeObjectUnderConstruction()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2856 return Node.getStorageDuration() == SD_Automatic; in AST_MATCHER()
2872 return Node.getStorageDuration() == SD_Static; in AST_MATCHER()
2888 return Node.getStorageDuration() == SD_Thread; in AST_MATCHER()
/external/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchers.h3987 return Node.getStorageDuration() == SD_Automatic; in AST_MATCHER()
4007 return Node.getStorageDuration() == SD_Static; in AST_MATCHER()
4023 return Node.getStorageDuration() == SD_Thread; in AST_MATCHER()
/external/clang/lib/Sema/
DJumpDiagnostics.cpp517 if (MTE->getStorageDuration() == SD_Automatic) { in BuildScopeInformation()
/external/llvm-project/clang/lib/AST/
DDeclCXX.cpp2937 StorageDuration LifetimeExtendedTemporaryDecl::getStorageDuration() const { in getStorageDuration() function in LifetimeExtendedTemporaryDecl
2950 return cast<VarDecl>(ExtendingDecl)->getStorageDuration(); in getStorageDuration()
2954 assert(getStorageDuration() == SD_Static && in getOrCreateValue()
DAPValue.cpp1095 if (!MTE || MTE->getStorageDuration() == SD_FullExpression) in getLVForValue()
DJSONNodeDumper.cpp1367 switch (MTE->getStorageDuration()) { in VisitMaterializeTemporaryExpr()
/external/clang/lib/CodeGen/
DCGExpr.cpp219 switch (StorageDuration Duration = M->getStorageDuration()) { in pushTemporaryCleanup()
276 switch (M->getStorageDuration()) { in pushTemporaryCleanup()
318 switch (M->getStorageDuration()) { in createReferenceTemporary()
427 switch (M->getStorageDuration()) { in EmitMaterializeTemporaryExpr()
433 if (M->getStorageDuration() == SD_Automatic) in EmitMaterializeTemporaryExpr()
DCodeGenModule.cpp3536 assert((E->getStorageDuration() == SD_Static || in GetAddrOfGlobalTemporary()
3537 E->getStorageDuration() == SD_Thread) && "not a global temporary"); in GetAddrOfGlobalTemporary()
3560 if (E->getStorageDuration() == SD_Static) { in GetAddrOfGlobalTemporary()
DCGExprConstant.cpp1112 assert(MTE->getStorageDuration() == SD_Static); in EmitLValue()
/external/llvm-project/clang/lib/Sema/
DJumpDiagnostics.cpp561 if (MTE->getStorageDuration() == SD_Automatic) { in BuildScopeInformation()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp1819 VD->getStorageDuration() == SD_Static) in SetCommonAttributes()
2549 VD->getStorageDuration() == SD_Static) in MustBeEmitted()
5303 assert((E->getStorageDuration() == SD_Static || in GetAddrOfGlobalTemporary()
5304 E->getStorageDuration() == SD_Thread) && "not a global temporary"); in GetAddrOfGlobalTemporary()
5327 if (E->getStorageDuration() == SD_Static && VD && VD->evaluateValue()) { in GetAddrOfGlobalTemporary()
DCGExpr.cpp292 switch (StorageDuration Duration = M->getStorageDuration()) { in pushTemporaryCleanup()
349 switch (M->getStorageDuration()) { in pushTemporaryCleanup()
393 switch (M->getStorageDuration()) { in createReferenceTemporary()
526 switch (M->getStorageDuration()) { in EmitMaterializeTemporaryExpr()
DCGExprConstant.cpp2025 assert(E->getStorageDuration() == SD_Static); in VisitMaterializeTemporaryExpr()
DCGDecl.cpp189 if (D.getStorageDuration() != SD_Automatic) { in EmitVarDecl()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp1018 if (D->getStorageDuration() == SD_Static) { in VisitVarDecl()
1074 D->getStorageDuration() != SD_Static && in VisitVarDecl()
/external/clang/include/clang/AST/
DExprCXX.h4006 StorageDuration getStorageDuration() const { in getStorageDuration() function
4014 return cast<VarDecl>(ExtendingDecl)->getStorageDuration(); in getStorageDuration()
DDecl.h1001 StorageDuration getStorageDuration() const { in getStorageDuration() function
/external/clang/lib/AST/
DExprConstant.cpp1359 return cast<MaterializeTemporaryExpr>(E)->getStorageDuration() == SD_Static; in IsGlobalLValue()
2814 assert(MTE->getStorageDuration() == SD_Static && in findCompleteObject()
4833 if (E->getStorageDuration() == SD_Static) { in VisitMaterializeTemporaryExpr()
4839 createTemporary(E, E->getStorageDuration() == SD_Automatic); in VisitMaterializeTemporaryExpr()
4847 (E->getStorageDuration() == SD_Static && in VisitMaterializeTemporaryExpr()
/external/llvm-project/clang/include/clang/AST/
DExprCXX.h4477 StorageDuration getStorageDuration() const { in getStorageDuration() function
4480 ->getStorageDuration(); in getStorageDuration()
DDeclCXX.h3111 StorageDuration getStorageDuration() const;
DDecl.h1104 StorageDuration getStorageDuration() const { in getStorageDuration() function

12