[lldb][NFC] Remove TypeSystemClang::CreateFunctionType overload

This can just be a default argument.
This commit is contained in:
Raphael Isemann 2021-08-26 12:29:01 +02:00
parent 3f0c6100a2
commit f3ad3ea471
1 changed files with 1 additions and 8 deletions

View File

@ -400,14 +400,7 @@ public:
CompilerType CreateFunctionType(const CompilerType &result_type,
const CompilerType *args, unsigned num_args,
bool is_variadic, unsigned type_quals,
clang::CallingConv cc);
CompilerType CreateFunctionType(const CompilerType &result_type,
const CompilerType *args, unsigned num_args,
bool is_variadic, unsigned type_quals) {
return CreateFunctionType(result_type, args, num_args, is_variadic,
type_quals, clang::CC_C);
}
clang::CallingConv cc = clang::CC_C);
clang::ParmVarDecl *
CreateParameterDeclaration(clang::DeclContext *decl_ctx,