/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/ |
D | StaticallyConstructedObjectsCheck.cpp | 23 return Node.getStorageDuration() == SD_Static && !Node.isLocalVarDecl(); in AST_MATCHER()
|
/external/llvm-project/clang/lib/Analysis/ |
D | ConstructionContext.cpp | 56 MTE->getStorageDuration() != SD_FullExpression)) { in createMaterializedTemporaryFromLayers() 63 if (MTE->getStorageDuration() != SD_FullExpression) { in createMaterializedTemporaryFromLayers()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cert/ |
D | StaticObjectExceptionCheck.cpp | 47 << VD << (VD->getStorageDuration() == SD_Static ? 0 : 1); in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCXX.cpp | 269 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/ |
D | ASTMatchers.h | 2856 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/ |
D | ASTMatchers.h | 3987 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/ |
D | JumpDiagnostics.cpp | 517 if (MTE->getStorageDuration() == SD_Automatic) { in BuildScopeInformation()
|
/external/llvm-project/clang/lib/AST/ |
D | DeclCXX.cpp | 2937 StorageDuration LifetimeExtendedTemporaryDecl::getStorageDuration() const { in getStorageDuration() function in LifetimeExtendedTemporaryDecl 2950 return cast<VarDecl>(ExtendingDecl)->getStorageDuration(); in getStorageDuration() 2954 assert(getStorageDuration() == SD_Static && in getOrCreateValue()
|
D | APValue.cpp | 1095 if (!MTE || MTE->getStorageDuration() == SD_FullExpression) in getLVForValue()
|
D | JSONNodeDumper.cpp | 1367 switch (MTE->getStorageDuration()) { in VisitMaterializeTemporaryExpr()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 219 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()
|
D | CodeGenModule.cpp | 3536 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()
|
D | CGExprConstant.cpp | 1112 assert(MTE->getStorageDuration() == SD_Static); in EmitLValue()
|
/external/llvm-project/clang/lib/Sema/ |
D | JumpDiagnostics.cpp | 561 if (MTE->getStorageDuration() == SD_Automatic) { in BuildScopeInformation()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1819 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()
|
D | CGExpr.cpp | 292 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()
|
D | CGExprConstant.cpp | 2025 assert(E->getStorageDuration() == SD_Static); in VisitMaterializeTemporaryExpr()
|
D | CGDecl.cpp | 189 if (D.getStorageDuration() != SD_Automatic) { in EmitVarDecl()
|
/external/llvm-project/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 1018 if (D->getStorageDuration() == SD_Static) { in VisitVarDecl() 1074 D->getStorageDuration() != SD_Static && in VisitVarDecl()
|
/external/clang/include/clang/AST/ |
D | ExprCXX.h | 4006 StorageDuration getStorageDuration() const { in getStorageDuration() function 4014 return cast<VarDecl>(ExtendingDecl)->getStorageDuration(); in getStorageDuration()
|
D | Decl.h | 1001 StorageDuration getStorageDuration() const { in getStorageDuration() function
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 1359 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/ |
D | ExprCXX.h | 4477 StorageDuration getStorageDuration() const { in getStorageDuration() function 4480 ->getStorageDuration(); in getStorageDuration()
|
D | DeclCXX.h | 3111 StorageDuration getStorageDuration() const;
|
D | Decl.h | 1104 StorageDuration getStorageDuration() const { in getStorageDuration() function
|