Home
last modified time | relevance | path

Searched refs:Adjustments (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/lib/AST/
H A DAPValue.cpp95 SmallVector<SubobjectAdjustment, 2> Adjustments; in getType() local
98 Adjustments); in getType()
101 if (!Adjustments.empty()) in getType()
H A DExpr.cpp83 SmallVectorImpl<SubobjectAdjustment> &Adjustments) const { in skipRValueSubobjectAdjustments()
95 Adjustments.push_back(SubobjectAdjustment(CE, Derived)); in skipRValueSubobjectAdjustments()
109 Adjustments.push_back(SubobjectAdjustment(Field)); in skipRValueSubobjectAdjustments()
120 Adjustments.push_back(SubobjectAdjustment(MPT, BO->getRHS())); in skipRValueSubobjectAdjustments()
H A DExprConstant.cpp8337 SmallVector<SubobjectAdjustment, 2> Adjustments; in VisitMaterializeTemporaryExpr() local
8339 E->getSubExpr()->skipRValueSubobjectAdjustments(CommaLHSs, Adjustments); in VisitMaterializeTemporaryExpr()
8372 for (unsigned I = Adjustments.size(); I != 0; /**/) { in VisitMaterializeTemporaryExpr()
8374 switch (Adjustments[I].Kind) { in VisitMaterializeTemporaryExpr()
8376 if (!HandleLValueBasePath(Info, Adjustments[I].DerivedToBase.BasePath, in VisitMaterializeTemporaryExpr()
8379 Type = Adjustments[I].DerivedToBase.BasePath->getType(); in VisitMaterializeTemporaryExpr()
8383 if (!HandleLValueMember(Info, E, Result, Adjustments[I].Field)) in VisitMaterializeTemporaryExpr()
8385 Type = Adjustments[I].Field->getType(); in VisitMaterializeTemporaryExpr()
8390 Adjustments[I].Ptr.RHS)) in VisitMaterializeTemporaryExpr()
8392 Type = Adjustments[I].Ptr.MPT->getPointeeType(); in VisitMaterializeTemporaryExpr()
/llvm-project-15.0.7/clang/lib/Sema/
H A DJumpDiagnostics.cpp577 SmallVector<SubobjectAdjustment, 4> Adjustments; in BuildScopeInformation() local
580 Adjustments); in BuildScopeInformation()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DGlobalCompilationDatabaseTests.cpp139 TEST_F(OverlayCDBTest, Adjustments) { in TEST_F() argument
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp366 SmallVector<SubobjectAdjustment, 2> Adjustments; in createTemporaryRegionIfNeeded() local
369 CommaLHSs, Adjustments); in createTemporaryRegionIfNeeded()
400 for (const SubobjectAdjustment &Adj : llvm::reverse(Adjustments)) { in createTemporaryRegionIfNeeded()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp1719 SmallVector<SubobjectAdjustment, 2> Adjustments; in getReferenceInitTemporaryType() local
1721 Init->skipRValueSubobjectAdjustments(CommaLHSs, Adjustments); in getReferenceInitTemporaryType()
4928 SmallVector<SubobjectAdjustment, 2> Adjustments; in VisitForTemporaryDtors() local
4933 ->skipRValueSubobjectAdjustments(CommaLHSs, Adjustments)); in VisitForTemporaryDtors()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp2065 SmallVector<SubobjectAdjustment, 2> Adjustments; in VisitMaterializeTemporaryExpr() local
2067 E->getSubExpr()->skipRValueSubobjectAdjustments(CommaLHSs, Adjustments); in VisitMaterializeTemporaryExpr()
H A DCGExpr.cpp494 SmallVector<SubobjectAdjustment, 2> Adjustments; in EmitMaterializeTemporaryExpr() local
495 E = E->skipRValueSubobjectAdjustments(CommaLHSs, Adjustments); in EmitMaterializeTemporaryExpr()
502 assert(Adjustments.empty()); in EmitMaterializeTemporaryExpr()
583 for (SubobjectAdjustment &Adjustment : llvm::reverse(Adjustments)) { in EmitMaterializeTemporaryExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DExpr.h974 SmallVectorImpl<SubobjectAdjustment> &Adjustments) const;
977 SmallVector<SubobjectAdjustment, 8> Adjustments; in skipRValueSubobjectAdjustments() local
978 return skipRValueSubobjectAdjustments(CommaLHSs, Adjustments); in skipRValueSubobjectAdjustments()