[Lldb-commits] [lldb] f3ad3ea - [lldb][NFC] Remove TypeSystemClang::CreateFunctionType overload
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 30 03:29:12 PDT 2021
Author: Raphael Isemann
Date: 2021-08-30T12:28:20+02:00
New Revision: f3ad3ea4719bd025711062725732dd597533a8c9
URL: https://github.com/llvm/llvm-project/commit/f3ad3ea4719bd025711062725732dd597533a8c9
DIFF: https://github.com/llvm/llvm-project/commit/f3ad3ea4719bd025711062725732dd597533a8c9.diff
LOG: [lldb][NFC] Remove TypeSystemClang::CreateFunctionType overload
This can just be a default argument.
Added:
Modified:
lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
Removed:
################################################################################
diff --git a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
index 701e4ca42e399..fcb63d055705a 100644
--- a/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
+++ b/lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
@@ -400,14 +400,7 @@ class TypeSystemClang : public TypeSystem {
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,
More information about the lldb-commits
mailing list