aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/TypeSystem
diff options
context:
space:
mode:
authorRaphael Isemann <teemperor@gmail.com>2021-08-26 12:29:01 +0200
committerRaphael Isemann <teemperor@gmail.com>2021-08-30 12:28:20 +0200
commitf3ad3ea4719bd025711062725732dd597533a8c9 (patch)
tree2f21b2a2372f44d4b0cb0927566aaa3f0dc9f05f /lldb/source/Plugins/TypeSystem
parent3f0c6100a226d33a3d9861fa6dc4649e43c7abd4 (diff)
downloadllvm-f3ad3ea4719bd025711062725732dd597533a8c9.zip
llvm-f3ad3ea4719bd025711062725732dd597533a8c9.tar.gz
llvm-f3ad3ea4719bd025711062725732dd597533a8c9.tar.bz2
[lldb][NFC] Remove TypeSystemClang::CreateFunctionType overload
This can just be a default argument.
Diffstat (limited to 'lldb/source/Plugins/TypeSystem')
-rw-r--r--lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
index 701e4ca..fcb63d0 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
@@ -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,