Skip to content

[DNM][AST] Keep track of an "isDerivableFromSwiftType" bit for Clang types. #29349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/swift/AST/ASTContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -594,15 +594,15 @@ class ASTContext final {
/// information, in case it is needed.
/// \param trueRep The actual calling convention, which must be C-compatible.
/// The calling convention in \p incompleteExtInfo is ignored.
const clang::Type *
ClangTypeWrapper
getClangFunctionType(ArrayRef<AnyFunctionType::Param> params, Type resultTy,
const FunctionType::ExtInfo incompleteExtInfo,
FunctionTypeRepresentation trueRep);

/// Get the canonical Clang type corresponding to a SIL function type.
///
/// SIL analog of \c ASTContext::getClangFunctionType .
const clang::Type *
ClangTypeWrapper
getCanonicalClangFunctionType(
ArrayRef<SILParameterInfo> params, Optional<SILResultInfo> result,
const SILFunctionType::ExtInfo incompleteExtInfo,
Expand Down
Loading