summaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaType.cpp')
-rw-r--r--clang/lib/Sema/SemaType.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaType.cpp b/clang/lib/Sema/SemaType.cpp
index 7cef0aefb881..cf67f9844d11 100644
--- a/clang/lib/Sema/SemaType.cpp
+++ b/clang/lib/Sema/SemaType.cpp
@@ -2716,6 +2716,10 @@ static void checkExtParameterInfos(Sema &S, ArrayRef<QualType> paramTypes,
checkForSwiftCC(paramIndex);
continue;
+ case ParameterABI::SwiftAsyncContext:
+ // FIXME: might want to require swiftasynccc when it exists
+ continue;
+
// swift_error parameters must be preceded by a swift_context parameter.
case ParameterABI::SwiftErrorResult:
checkForSwiftCC(paramIndex);