Skip to content

Commit 4d53338

Browse files
TeemperorJDevlieghere
authored andcommitted
[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. (cherry picked from commit f6af6c3)
1 parent 38262fb commit 4d53338

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
@@ -8666,7 +8666,7 @@ clang::ObjCMethodDecl *ClangASTContext::AddMethodToObjCObjectType(
86668666
return nullptr;
86678667

86688668
const bool isInstance = (name[0] == '-');
8669-
const bool isVariadic = false;
8669+
const bool isVariadic = is_variadic;
86708670
const bool isPropertyAccessor = false;
86718671
const bool isSynthesizedAccessorStub = false;
86728672
/// Force this to true because we don't have source locations.

0 commit comments

Comments
 (0)