Skip to content

Commit f6af6c3

Browse files
committed
[lldb] Fix that Objective-C methods were never variadic
In 952413c we just hardcoded a false in there instead of taking the value of is_variadic.
1 parent e3f5881 commit f6af6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Symbol/ClangASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8698,7 +8698,7 @@ clang::ObjCMethodDecl *ClangASTContext::AddMethodToObjCObjectType(
86988698
return nullptr;
86998699

87008700
const bool isInstance = (name[0] == '-');
8701-
const bool isVariadic = false;
8701+
const bool isVariadic = is_variadic;
87028702
const bool isPropertyAccessor = false;
87038703
const bool isSynthesizedAccessorStub = false;
87048704
/// Force this to true because we don't have source locations.

0 commit comments

Comments
 (0)