diff options
| author | Adrian Prantl <aprantl@apple.com> | 2019-11-08 09:52:58 -0800 |
|---|---|---|
| committer | Adrian Prantl <aprantl@apple.com> | 2019-11-08 09:53:51 -0800 |
| commit | 8204d9ff7ef59bbec9137a5b6679718d03b9cb1b (patch) | |
| tree | 593355af1cdf36bbc9e0bec2c56cb163815d2322 | |
| parent | 59d3fbc227cca41e3e7b213ea744ca3a48d5244f (diff) | |
| download | bcm5719-llvm-8204d9ff7ef59bbec9137a5b6679718d03b9cb1b.tar.gz bcm5719-llvm-8204d9ff7ef59bbec9137a5b6679718d03b9cb1b.zip | |
Properly propagate is_variadic.
This fixes a copy&paste error made when adapting to new clang API
which was promptly caught by the bots.
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 5c7000ac2f3..290ad93b953 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. |

