Home
last modified time | relevance | path

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

/llvm-project/clang/lib/Sema/
H A DSemaCast.cpp94 CXXCastPath BasePath;
223 CXXCastPath &BasePath,
230 CXXCastPath &BasePath);
236 CXXCastPath &BasePath);
243 CXXCastPath &BasePath);
250 CXXCastPath &BasePath);
259 CastKind &Kind, CXXCastPath &BasePath,
349 &Op.BasePath, DestTInfo, in BuildCXXNamedCast()
376 &Op.BasePath, DestTInfo, CurFPFeatureOverrides(), OpLoc, in BuildCXXNamedCast()
912 &BasePath)) { in CheckDynamicCast()
95 CXXCastPath BasePath; global() member
1319 TryStaticCast(Sema & Self,ExprResult & SrcExpr,QualType DestType,CheckedConversionKind CCK,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath,bool ListInitialization) TryStaticCast() argument
1529 TryLValueToRValueCast(Sema & Self,Expr * SrcExpr,QualType DestType,bool CStyle,CastKind & Kind,CXXCastPath & BasePath,unsigned & msg) TryLValueToRValueCast() argument
1585 TryStaticReferenceDowncast(Sema & Self,Expr * SrcExpr,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticReferenceDowncast() argument
1623 TryStaticPointerDowncast(Sema & Self,QualType SrcType,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticPointerDowncast() argument
1657 TryStaticDowncast(Sema & Self,CanQualType SrcType,CanQualType DestType,bool CStyle,SourceRange OpRange,QualType OrigSrcType,QualType OrigDestType,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticDowncast() argument
1770 TryStaticMemberPointerUpcast(Sema & Self,ExprResult & SrcExpr,QualType SrcType,QualType DestType,bool CStyle,SourceRange OpRange,unsigned & msg,CastKind & Kind,CXXCastPath & BasePath) TryStaticMemberPointerUpcast() argument
[all...]
H A DSema.cpp694 const CXXCastPath *BasePath, in ImpCastExprToType() argument
734 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK, in ImpCastExprToType()
773 if (ImpCast->getCastKind() == Kind && (!BasePath || BasePath->empty())) { in ImpCastExprToType()
780 return ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK, in ScalarTypeToBooleanCastKind()
H A DSemaExprCXX.cpp4415 From, /*BasePath=*/nullptr, VK_PRValue, in PerformImplicitConversion()
4434 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4442 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4451 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4459 VK_PRValue, /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4507 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4511 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4523 /*BasePath=*/nullptr, CCK) in PerformImplicitConversion()
4543 From = ImpCastExprToType(From, ToType, CK, VK_PRValue, /*BasePath=*/nullptr, in PerformImplicitConversion()
4556 /*BasePath in PerformImplicitConversion()
4582 CXXCastPath BasePath; PerformImplicitConversion() local
4602 CXXCastPath BasePath; PerformImplicitConversion() local
4634 CXXCastPath BasePath; PerformImplicitConversion() local
6298 CXXCastPath BasePath; CheckPointerToMemberOperands() local
[all...]
H A DSemaDeclCXX.cpp1404 CXXCastPath &BasePath) { in findDecomposableBaseClass()
1457 S.BuildBasePathArray(Paths, BasePath); in checkMemberDecomposition()
1480 CXXCastPath BasePath; in checkMemberDecomposition()
1482 findDecomposableBaseClass(S, Src->getLocation(), OrigRD, BasePath); in checkMemberDecomposition()
1543 VK_LValue, &BasePath); in CheckCompleteDecompositionDeclaration()
3074 CXXCastPath *BasePath, in CheckDerivedToBaseConversion()
3120 if (BasePath) in getAmbiguousPathsDisplayString()
3121 ::BuildBasePathArray(*Path, *BasePath); in getAmbiguousPathsDisplayString()
3153 CXXCastPath *BasePath, in CheckOverrideControl()
3158 BasePath, IgnoreAcces in CheckOverrideControl()
1354 findDecomposableBaseClass(Sema & S,SourceLocation Loc,const CXXRecordDecl * RD,CXXCastPath & BasePath) findDecomposableBaseClass() argument
1430 CXXCastPath BasePath; checkMemberDecomposition() local
3022 CheckDerivedToBaseConversion(QualType Derived,QualType Base,unsigned InaccessibleBaseID,unsigned AmbiguousBaseConvID,SourceLocation Loc,SourceRange Range,DeclarationName Name,CXXCastPath * BasePath,bool IgnoreAccess) CheckDerivedToBaseConversion() argument
3101 CheckDerivedToBaseConversion(QualType Derived,QualType Base,SourceLocation Loc,SourceRange Range,CXXCastPath * BasePath,bool IgnoreAccess) CheckDerivedToBaseConversion() argument
4829 CXXCastPath BasePath; BuildImplicitBaseInitializer() local
14914 CXXCastPath BasePath; DefineImplicitCopyAssignment() local
15299 CXXCastPath BasePath; DefineImplicitMoveAssignment() local
[all...]
H A DSemaOpenMP.cpp18107 CXXCastPath &BasePath, Expr *UnresolvedReduction) { in ActOnOpenMPLastprivateClause()
18219 SemaRef.BuildBasePathArray(Paths, BasePath); in ActOnOpenMPSharedClause()
18534 CXXCastPath BasePath;
18537 ReductionId, Type, BasePath, IR == ER ? nullptr : *IR);
18658 CXXCastPath BasePath; in checkOMPArraySectionConstantForReduction()
18661 ReductionId, Type, BasePath, IR == ER ? nullptr : *IR); in checkOMPArraySectionConstantForReduction()
18923 if (!BasePath.empty()) { in actOnOMPReductionKindClause()
18927 Context, PtrRedTy, CK_UncheckedDerivedToBase, LHS.get(), &BasePath, in actOnOMPReductionKindClause()
18930 Context, PtrRedTy, CK_UncheckedDerivedToBase, RHS.get(), &BasePath, in actOnOMPReductionKindClause()
18406 buildDeclareReductionRef(Sema & SemaRef,SourceLocation Loc,SourceRange Range,Scope * S,CXXScopeSpec & ReductionIdScopeSpec,const DeclarationNameInfo & ReductionId,QualType Ty,CXXCastPath & BasePath,Expr * UnresolvedReduction) buildDeclareReductionRef() argument
18829 CXXCastPath BasePath; actOnOMPReductionKindClause() local
18953 CXXCastPath BasePath; actOnOMPReductionKindClause() local
H A DSemaInit.cpp7634 return ImpCastExprToType(E, Ty, CK, VK, /*BasePath=*/nullptr, CCK); in Perform()
7880 CXXCastPath BasePath; in Perform()
7886 CurInit.get()->getSourceRange(), &BasePath, IgnoreBaseAccess)) in Perform()
7896 &BasePath, VK, FPOptionsOverride()); in Perform()
8511 /*BasePath=*/nullptr, VK_PRValue, FPOptionsOverride()); in emitBadConversionNotes()
7712 CXXCastPath BasePath; Perform() local
H A DSemaExpr.cpp3084 CXXCastPath BasePath; in UseArgumentDependentLookup()
3086 FromLoc, FromRange, &BasePath)) in UseArgumentDependentLookup()
3092 VK, &BasePath).get(); in UseArgumentDependentLookup()
3104 CXXCastPath BasePath; in UseArgumentDependentLookup()
3106 FromLoc, FromRange, &BasePath, in UseArgumentDependentLookup()
3111 VK, &BasePath); in UseArgumentDependentLookup()
3038 CXXCastPath BasePath; PerformObjectMemberConversion() local
3058 CXXCastPath BasePath; PerformObjectMemberConversion() local
H A DSemaOverload.cpp3434 CXXCastPath& BasePath, in CheckMemberPointerConversion()
3471 &BasePath, IgnoreBaseAccess))
3551 CXXCastPath &BasePath, in IsQualificationConversion()
3604 BuildBasePathArray(Paths, BasePath); in tryAtomicConversion()
3283 CheckPointerConversion(Expr * From,QualType ToType,CastKind & Kind,CXXCastPath & BasePath,bool IgnoreBaseAccess,bool Diagnose) CheckPointerConversion() argument
3400 CheckMemberPointerConversion(Expr * From,QualType ToType,CastKind & Kind,CXXCastPath & BasePath,bool IgnoreBaseAccess) CheckMemberPointerConversion() argument
/llvm-project/clang/lib/AST/
H A DExprCXX.cpp762 CastKind K, Expr *Op, const CXXCastPath *BasePath, in Create()
766 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
773 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
790 const CXXCastPath *BasePath, in Create()
795 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
801 std::uninitialized_copy_n(BasePath->data(), BasePath in Create()
760 Create(const ASTContext & C,QualType T,ExprValueKind VK,CastKind K,Expr * Op,const CXXCastPath * BasePath,TypeSourceInfo * WrittenTy,FPOptionsOverride FPO,SourceLocation L,SourceLocation RParenLoc,SourceRange AngleBrackets) Create() argument
788 Create(const ASTContext & C,QualType T,ExprValueKind VK,CastKind K,Expr * Op,const CXXCastPath * BasePath,TypeSourceInfo * WrittenTy,SourceLocation L,SourceLocation RParenLoc,SourceRange AngleBrackets) Create() argument
852 Create(const ASTContext & C,QualType T,ExprValueKind VK,CastKind K,Expr * Op,const CXXCastPath * BasePath,TypeSourceInfo * WrittenTy,SourceLocation L,SourceLocation RParenLoc,SourceRange AngleBrackets) Create() argument
901 Create(const ASTContext & C,QualType T,ExprValueKind VK,TypeSourceInfo * Written,CastKind K,Expr * Op,const CXXCastPath * BasePath,FPOptionsOverride FPO,SourceLocation L,SourceLocation R) Create() argument
[all...]
H A DMicrosoftMangle.cpp165 ArrayRef<const CXXRecordDecl *> BasePath,
168 ArrayRef<const CXXRecordDecl *> BasePath,
197 ArrayRef<const CXXRecordDecl *> BasePath,
3909 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleCXXThrowInfo()
3923 for (const CXXRecordDecl *RD : BasePath) in mangleCXXCatchableTypeArray()
3935 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleCXXCatchableType()
3946 for (const CXXRecordDecl *RD : BasePath) in mangleCXXCatchableType()
4081 const CXXRecordDecl *Derived, ArrayRef<const CXXRecordDecl *> BasePath, in mangleStaticGuardVariable()
4089 mangleCXXVFTable(Derived, BasePath, Stream); in mangleStaticGuardVariable()
3832 mangleCXXVFTable(const CXXRecordDecl * Derived,ArrayRef<const CXXRecordDecl * > BasePath,raw_ostream & Out) mangleCXXVFTable() argument
3858 mangleCXXVBTable(const CXXRecordDecl * Derived,ArrayRef<const CXXRecordDecl * > BasePath,raw_ostream & Out) mangleCXXVBTable() argument
4004 mangleCXXRTTICompleteObjectLocator(const CXXRecordDecl * Derived,ArrayRef<const CXXRecordDecl * > BasePath,raw_ostream & Out) mangleCXXRTTICompleteObjectLocator() argument
H A DExpr.cpp2090 const CXXCastPath *BasePath, in Create()
2093 unsigned PathSize = (BasePath ? BasePath->size() : 0); in Create()
2105 std::uninitialized_copy_n(BasePath->data(), BasePath->size(), in Create()
2121 const CXXCastPath *BasePath, in Create()
2125 unsigned PathSize = (BasePath ? BasePath->size() : 0); in CreateEmpty()
2132 std::uninitialized_copy_n(BasePath->data(), BasePath
2076 Create(const ASTContext & C,QualType T,CastKind Kind,Expr * Operand,const CXXCastPath * BasePath,ExprValueKind VK,FPOptionsOverride FPO) Create() argument
2107 Create(const ASTContext & C,QualType T,ExprValueKind VK,CastKind K,Expr * Op,const CXXCastPath * BasePath,FPOptionsOverride FPO,TypeSourceInfo * WrittenTy,SourceLocation L,SourceLocation R) Create() argument
[all...]
H A DVTableBuilder.cpp3197 static void PrintBasePath(const VPtrInfo::BasePath &Path, raw_ostream &Out) { in PrintBasePath()
H A DExprConstant.cpp9053 if (!HandleLValueBasePath(Info, Adjustments[I].DerivedToBase.BasePath, in Success()
9056 Type = Adjustments[I].DerivedToBase.BasePath->getType(); in evaluateLValue()
/llvm-project/clang/include/clang/AST/
H A DVTableBuilder.h476 typedef SmallVector<const CXXRecordDecl *, 1> BasePath; typedef
498 BasePath MangledPath;
507 BasePath ContainingVBases;
512 BasePath PathToIntroducingObject;
H A DMangle.h240 ArrayRef<const CXXRecordDecl *> BasePath,
247 ArrayRef<const CXXRecordDecl *> BasePath,
286 ArrayRef<const CXXRecordDecl *> BasePath,
H A DExpr.h74 const CastExpr *BasePath; member
89 SubobjectAdjustment(const CastExpr *BasePath, in SubobjectAdjustment()
92 DerivedToBase.BasePath = BasePath; in SubobjectAdjustment()
3762 const CXXCastPath *BasePath, in getTypeAsWritten()
3866 Expr *Op, const CXXCastPath *BasePath, FPOptionsOverride FPO,
/llvm-project/clang/include/clang/InstallAPI/
H A DDirectoryScanner.h67 StringRef BasePath,
/llvm-project/clang/lib/InstallAPI/
H A DDirectoryScanner.cpp91 HeaderType Type, StringRef BasePath, in scanHeaders() argument
133 if (Error Err = scanHeaders(Dir, Lib, Type, BasePath, ParentPath)) in scanHeaders()
/llvm-project/clang-tools-extra/clang-doc/
H A DMDGenerator.cpp194 llvm::SmallString<64> BasePath = I.getRelativeFilePath(""); in genMarkdown() local
200 writeNameLink(BasePath, R, OS); in genMarkdown()
210 writeNameLink(BasePath, R, OS); in genMarkdown()
H A DHTMLGenerator.cpp818 llvm::SmallString<64> BasePath = I.getRelativeFilePath(""); in genHTML()
821 genReferencesBlock(I.Children.Namespaces, "Namespaces", BasePath); in genHTML()
824 genReferencesBlock(I.Children.Records, "Records", BasePath); in genHTML()
828 genFunctionsBlock(I.Children.Functions, CDCtx, BasePath); in genHTML()
744 llvm::SmallString<64> BasePath = I.getRelativeFilePath(""); genHTML() local
/llvm-project/llvm/lib/Support/
H A DCommandLine.cpp1119 static void ExpandBasePaths(StringRef BasePath, StringSaver &Saver, in ExpandBasePaths()
1121 assert(sys::path::is_absolute(BasePath)); in ExpandBasePaths()
1137 ResponseFile.append(BasePath); in expandResponseFile()
1188 StringRef BasePath = llvm::sys::path::parent_path(FName); in expandResponseFile()
1195 ExpandBasePaths(BasePath, Saver, Arg); in expandResponseFile()
1224 ResponseFile.append(BasePath); in expandResponseFiles()
1103 ExpandBasePaths(StringRef BasePath,StringSaver & Saver,const char * & Arg) ExpandBasePaths() argument
1172 StringRef BasePath = llvm::sys::path::parent_path(FName); expandResponseFile() local
/llvm-project/clang/lib/Driver/
H A DDriver.cpp6234 SmallString<128> BasePath(BaseInput); in GetProgramPath()
6246 llvm::sys::path::filename(BasePath)); in GetStdModuleManifestPath()
6249 BaseName = BasePath; in GetStdModuleManifestPath()
6251 BaseName = llvm::sys::path::filename(BasePath); in GetStdModuleManifestPath()
6382 llvm::sys::path::remove_filename(BasePath); in getToolChain()
6383 if (BasePath.empty()) in getToolChain()
6384 BasePath = NamedOutput; in getToolChain()
6386 llvm::sys::path::append(BasePath, NamedOutput); in getToolChain()
6387 return C.addResultFile(C.getArgs().MakeArgString(BasePath.c_str()), &JA); in getToolChain()
5980 SmallString<128> BasePath(BaseInput); GetNamedOutputPath() local
/llvm-project/clang/include/clang/Sema/
H A DSema.h773 const CXXCastPath *BasePath = nullptr,
5686 void BuildBasePathArray(const CXXBasePaths &Paths, CXXCastPath &BasePath);
5690 CXXCastPath *BasePath = nullptr,
5709 DeclarationName Name, CXXCastPath *BasePath,
9952 CXXCastPath &BasePath, bool IgnoreBaseAccess,
9971 CXXCastPath &BasePath,
/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp637 Adjustment.DerivedToBase.BasePath->path_begin(), in EmitReferenceBindingToExpr()
638 Adjustment.DerivedToBase.BasePath->path_end(), in EmitReferenceBindingToExpr()
/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp415 Reg = StoreMgr.evalDerivedToBase(Reg, Adj.DerivedToBase.BasePath); in createTemporaryRegionIfNeeded()