Commit 8204d9ff authored by Adrian Prantl's avatar Adrian Prantl
Browse files

Properly propagate is_variadic.

This fixes a copy&paste error made when adapting to new clang API
which was promptly caught by the bots.
parent 59d3fbc2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.