Skip to content

Commit 8204d9f

Browse files
committed
Properly propagate is_variadic.
This fixes a copy&paste error made when adapting to new clang API which was promptly caught by the bots.
1 parent 59d3fbc commit 8204d9f

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
@@ -8639,7 +8639,7 @@ clang::ObjCMethodDecl *ClangASTContext::AddMethodToObjCObjectType(
86398639
return nullptr;
86408640

86418641
const bool isInstance = (name[0] == '-');
8642-
const bool isVariadic = false;
8642+
const bool isVariadic = is_variadic;
86438643
const bool isPropertyAccessor = false;
86448644
const bool isSynthesizedAccessorStub = false;
86458645
/// Force this to true because we don't have source locations.

0 commit comments

Comments
 (0)