Skip to content

Commit f413f36

Browse files
[AST] Keep track of an "isDerivableFromSwiftType" bit for Clang types.
1 parent f6e0db5 commit f413f36

File tree

14 files changed

+260
-174
lines changed

14 files changed

+260
-174
lines changed

include/swift/AST/ASTContext.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,15 +594,15 @@ class ASTContext final {
594594
/// information, in case it is needed.
595595
/// \param trueRep The actual calling convention, which must be C-compatible.
596596
/// The calling convention in \p incompleteExtInfo is ignored.
597-
const clang::Type *
597+
ClangTypeWrapper
598598
getClangFunctionType(ArrayRef<AnyFunctionType::Param> params, Type resultTy,
599599
const FunctionType::ExtInfo incompleteExtInfo,
600600
FunctionTypeRepresentation trueRep);
601601

602602
/// Get the canonical Clang type corresponding to a SIL function type.
603603
///
604604
/// SIL analog of \c ASTContext::getClangFunctionType .
605-
const clang::Type *
605+
ClangTypeWrapper
606606
getCanonicalClangFunctionType(
607607
ArrayRef<SILParameterInfo> params, Optional<SILResultInfo> result,
608608
const SILFunctionType::ExtInfo incompleteExtInfo,

0 commit comments

Comments
 (0)