Author: Adrian Prantl Date: 2019-11-08T09:53:51-08:00 New Revision: 8204d9ff7ef59bbec9137a5b6679718d03b9cb1b
URL: https://github.com/llvm/llvm-project/commit/8204d9ff7ef59bbec9137a5b6679718d03b9cb1b DIFF: https://github.com/llvm/llvm-project/commit/8204d9ff7ef59bbec9137a5b6679718d03b9cb1b.diff LOG: Properly propagate is_variadic. This fixes a copy&paste error made when adapting to new clang API which was promptly caught by the bots. Added: Modified: lldb/source/Symbol/ClangASTContext.cpp Removed: ################################################################################ diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 5c7000ac2f36..290ad93b9532 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -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. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits