Skip to content

Commit ccabceb

Browse files
committed
Update SwiftASTContext.cpp
1 parent 85d2adb commit ccabceb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5360,9 +5360,7 @@ SwiftASTContext::CreateGenericTypeParamType(unsigned int depth,
53605360
unsigned int index) {
53615361
ThreadSafeASTContext ast_ctx = GetASTContext();
53625362
return ToCompilerType(
5363-
swift::GenericTypeParamType::get(/*isParameterPack*/ false,
5364-
/*isValue*/ false,
5365-
depth, index, **ast_ctx));
5363+
swift::GenericTypeParamType::getType(depth, index, **ast_ctx));
53665364
}
53675365

53685366
CompilerType SwiftASTContext::GetErrorType() {

0 commit comments

Comments
 (0)