forked from OSchip/llvm-project
[lldb][NFC] Remove TypeSystemClang::CreateFunctionType overload
This can just be a default argument.
This commit is contained in:
parent
3f0c6100a2
commit
f3ad3ea471
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue