Home
last modified time | relevance | path

Searched refs:BasePath (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp88 CXXCastPath BasePath; member
1299 BasePath, msg); in TryStaticCast()
1374 Kind, BasePath); in TryStaticCast()
1518 Self.BuildBasePathArray(Paths, BasePath); in TryLValueToRValueCast()
1530 CXXCastPath &BasePath) { in TryStaticReferenceDowncast() argument
1560 BasePath); in TryStaticReferenceDowncast()
1568 CXXCastPath &BasePath) { in TryStaticPointerDowncast() argument
1592 BasePath); in TryStaticPointerDowncast()
1698 Self.BuildBasePathArray(Paths, BasePath); in TryStaticDowncast()
1715 CXXCastPath &BasePath) { in TryStaticMemberPointerUpcast() argument
[all …]
H A DSema.cpp622 const CXXCastPath *BasePath, in ImpCastExprToType() argument
688 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
695 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK, in ImpCastExprToType()
H A DSemaExprCXX.cpp4439 CXXCastPath BasePath; in PerformImplicitConversion() local
4440 if (CheckPointerConversion(From, NewToType, Kind, BasePath, CStyle)) in PerformImplicitConversion()
4452 From = ImpCastExprToType(From, NewToType, Kind, VK_PRValue, &BasePath, CCK) in PerformImplicitConversion()
4459 CXXCastPath BasePath; in PerformImplicitConversion() local
4460 if (CheckMemberPointerConversion(From, ToType, Kind, BasePath, CStyle)) in PerformImplicitConversion()
4491 CXXCastPath BasePath; in PerformImplicitConversion() local
4494 From->getSourceRange(), &BasePath, CStyle)) in PerformImplicitConversion()
4499 &BasePath, CCK).get(); in PerformImplicitConversion()
5884 CXXCastPath BasePath; in CheckPointerToMemberOperands() local
5888 &BasePath)) in CheckPointerToMemberOperands()
[all …]
H A DSemaDeclCXX.cpp1354 S.BuildBasePathArray(Paths, BasePath); in findDecomposableBaseClass()
1377 CXXCastPath BasePath; in checkMemberDecomposition() local
2981 if (BasePath) in CheckDerivedToBaseConversion()
3019 BasePath, IgnoreAccess); in CheckDerivedToBaseConversion()
4740 CXXCastPath BasePath; in BuildImplicitBaseInitializer() local
4741 BasePath.push_back(BaseSpec); in BuildImplicitBaseInitializer()
14535 CXXCastPath BasePath; in DefineImplicitCopyAssignment() local
14536 BasePath.push_back(&Base); in DefineImplicitCopyAssignment()
14548 VK_LValue, BasePath); in DefineImplicitCopyAssignment()
14900 CXXCastPath BasePath; in DefineImplicitMoveAssignment() local
[all …]
H A DSemaOpenMP.cpp18498 CXXCastPath &BasePath, Expr *UnresolvedReduction) { in buildDeclareReductionRef() argument
18607 SemaRef.BuildBasePathArray(Paths, BasePath); in buildDeclareReductionRef()
18906 CXXCastPath BasePath; in actOnOMPReductionKindClause() local
18909 ReductionId, Type, BasePath, IR == ER ? nullptr : *IR); in actOnOMPReductionKindClause()
19030 CXXCastPath BasePath; in actOnOMPReductionKindClause() local
19033 ReductionId, Type, BasePath, IR == ER ? nullptr : *IR); in actOnOMPReductionKindClause()
19290 if (!BasePath.empty()) { in actOnOMPReductionKindClause()
19294 Context, PtrRedTy, CK_UncheckedDerivedToBase, LHS.get(), &BasePath, in actOnOMPReductionKindClause()
19297 Context, PtrRedTy, CK_UncheckedDerivedToBase, RHS.get(), &BasePath, in actOnOMPReductionKindClause()
H A DSemaInit.cpp8269 CXXCastPath BasePath; in Perform() local
8275 CurInit.get()->getSourceRange(), &BasePath, IgnoreBaseAccess)) in Perform()
8285 &BasePath, VK, FPOptionsOverride()); in Perform()
H A DSemaExpr.cpp3102 CXXCastPath BasePath; in PerformObjectMemberConversion() local
3104 FromLoc, FromRange, &BasePath)) in PerformObjectMemberConversion()
3110 VK, &BasePath).get(); in PerformObjectMemberConversion()
3122 CXXCastPath BasePath; in PerformObjectMemberConversion() local
3124 FromLoc, FromRange, &BasePath, in PerformObjectMemberConversion()
3129 VK, &BasePath); in PerformObjectMemberConversion()
H A DSemaOverload.cpp2995 CXXCastPath& BasePath, in CheckPointerConversion() argument
3032 &BasePath, IgnoreBaseAccess)) in CheckPointerConversion()
3123 CXXCastPath &BasePath, in CheckMemberPointerConversion() argument
3176 BuildBasePathArray(Paths, BasePath); in CheckMemberPointerConversion()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprCXX.cpp709 CastKind K, Expr *Op, const CXXCastPath *BasePath, in Create() argument
713 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
720 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
737 const CXXCastPath *BasePath, in Create() argument
742 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
748 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
795 const CXXCastPath *BasePath, in Create() argument
799 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
805 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
846 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
[all …]
H A DMicrosoftMangle.cpp164 ArrayRef<const CXXRecordDecl *> BasePath,
167 ArrayRef<const CXXRecordDecl *> BasePath,
193 ArrayRef<const CXXRecordDecl *> BasePath,
3534 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleCXXVFTable() argument
3548 for (const CXXRecordDecl *RD : BasePath) in mangleCXXVFTable()
3554 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleCXXVBTable() argument
3565 for (const CXXRecordDecl *RD : BasePath) in mangleCXXVBTable()
3700 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleCXXRTTICompleteObjectLocator() argument
3708 mangleCXXVFTable(Derived, BasePath, Stream); in mangleCXXRTTICompleteObjectLocator()
H A DExpr.cpp1982 const CXXCastPath *BasePath, in Create() argument
1985 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
1997 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
2013 const CXXCastPath *BasePath, in Create() argument
2017 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
2024 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
H A DVTableBuilder.cpp3100 static void PrintBasePath(const VPtrInfo::BasePath &Path, raw_ostream &Out) { in PrintBasePath()
H A DExprConstant.cpp8376 if (!HandleLValueBasePath(Info, Adjustments[I].DerivedToBase.BasePath, in VisitMaterializeTemporaryExpr()
8379 Type = Adjustments[I].DerivedToBase.BasePath->getType(); in VisitMaterializeTemporaryExpr()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DVTableBuilder.h447 typedef SmallVector<const CXXRecordDecl *, 1> BasePath; typedef
469 BasePath MangledPath;
478 BasePath ContainingVBases;
483 BasePath PathToIntroducingObject;
H A DMangle.h229 ArrayRef<const CXXRecordDecl *> BasePath,
236 ArrayRef<const CXXRecordDecl *> BasePath,
275 ArrayRef<const CXXRecordDecl *> BasePath,
H A DExpr.h72 const CastExpr *BasePath; member
87 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
90 DerivedToBase.BasePath = BasePath; in SubobjectAdjustment()
3660 const CXXCastPath *BasePath,
3764 Expr *Op, const CXXCastPath *BasePath, FPOptionsOverride FPO,
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DMDGenerator.cpp190 llvm::SmallString<64> BasePath = I.getRelativeFilePath(""); in genMarkdown() local
196 writeNameLink(BasePath, R, OS); in genMarkdown()
206 writeNameLink(BasePath, R, OS); in genMarkdown()
H A DHTMLGenerator.cpp733 llvm::SmallString<64> BasePath = I.getRelativeFilePath(""); in genHTML() local
736 genReferencesBlock(I.ChildNamespaces, "Namespaces", BasePath); in genHTML()
739 genReferencesBlock(I.ChildRecords, "Records", BasePath); in genHTML()
743 genFunctionsBlock(I.ChildFunctions, CDCtx, BasePath); in genHTML()
/llvm-project-15.0.7/llvm/lib/Support/
H A DCommandLine.cpp1120 static void ExpandBasePaths(StringRef BasePath, StringSaver &Saver, in ExpandBasePaths() argument
1122 assert(sys::path::is_absolute(BasePath)); in ExpandBasePaths()
1138 ResponseFile.append(BasePath); in ExpandBasePaths()
1186 llvm::StringRef BasePath = llvm::sys::path::parent_path(FName); in ExpandResponseFile() local
1196 ExpandBasePaths(BasePath, Saver, Arg); in ExpandResponseFile()
1209 ResponseFile.append(BasePath); in ExpandResponseFile()
/llvm-project-15.0.7/clang/lib/Driver/
H A DDriver.cpp5643 SmallString<128> BasePath(BaseInput); in GetNamedOutputPath() local
5655 llvm::sys::path::filename(BasePath)); in GetNamedOutputPath()
5658 BaseName = BasePath; in GetNamedOutputPath()
5660 BaseName = llvm::sys::path::filename(BasePath); in GetNamedOutputPath()
5786 llvm::sys::path::remove_filename(BasePath); in GetNamedOutputPath()
5787 if (BasePath.empty()) in GetNamedOutputPath()
5788 BasePath = NamedOutput; in GetNamedOutputPath()
5790 llvm::sys::path::append(BasePath, NamedOutput); in GetNamedOutputPath()
5791 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA); in GetNamedOutputPath()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h3679 CXXCastPath& BasePath,
3687 CXXCastPath &BasePath,
7549 void BuildBasePathArray(const CXXBasePaths &Paths, CXXCastPath &BasePath);
7553 CXXCastPath *BasePath = nullptr,
7560 CXXCastPath *BasePath,
11855 const CXXCastPath *BasePath = nullptr,
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExpr.cpp588 Adjustment.DerivedToBase.BasePath->path_begin(), in EmitMaterializeTemporaryExpr()
589 Adjustment.DerivedToBase.BasePath->path_end(), in EmitMaterializeTemporaryExpr()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp403 Reg = StoreMgr.evalDerivedToBase(Reg, Adj.DerivedToBase.BasePath); in createTemporaryRegionIfNeeded()