Skip to content

Commit 270b5dc

Browse files
Merge pull request #33118 from varungandhi-apple/vg-builder-pattern-ExtInfo
Refactor ExtInfo to use the builder pattern for construction.
2 parents 4c7cd16 + 29188e3 commit 270b5dc

38 files changed

+1169
-778
lines changed

include/swift/AST/ASTContext.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -590,13 +590,9 @@ class ASTContext final {
590590
///
591591
/// \param params The function parameters.
592592
/// \param resultTy The Swift result type.
593-
/// \param incompleteExtInfo Used to convey escaping and throwing
594-
/// information, in case it is needed.
595593
/// \param trueRep The actual calling convention, which must be C-compatible.
596-
/// The calling convention in \p incompleteExtInfo is ignored.
597594
const clang::Type *
598595
getClangFunctionType(ArrayRef<AnyFunctionType::Param> params, Type resultTy,
599-
const FunctionType::ExtInfo incompleteExtInfo,
600596
FunctionTypeRepresentation trueRep);
601597

602598
/// Get the Swift declaration that a Clang declaration was exported from,

0 commit comments

Comments
 (0)