Properly propagate is_variadic.
This fixes a copy&paste error made when adapting to new clang API which was promptly caught by the bots.
This commit is contained in:
parent
59d3fbc227
commit
8204d9ff7e
|
@ -8639,7 +8639,7 @@ clang::ObjCMethodDecl *ClangASTContext::AddMethodToObjCObjectType(
|
|||
return nullptr;
|
||||
|
||||
const bool isInstance = (name[0] == '-');
|
||||
const bool isVariadic = false;
|
||||
const bool isVariadic = is_variadic;
|
||||
const bool isPropertyAccessor = false;
|
||||
const bool isSynthesizedAccessorStub = false;
|
||||
/// Force this to true because we don't have source locations.
|
||||
|
|
Loading…
Reference in New Issue