[lldb][NFC] Remove redundant ASTContext args to CopyDecl/DeportDecl
authorRaphael Isemann <teemperor@gmail.com>
Fri, 20 Dec 2019 17:44:39 +0000 (18:44 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 20 Dec 2019 17:45:14 +0000 (18:45 +0100)
commit6be76f491fcbb2a8476e58cb8d3310155c71e74a
tree755321a01e23f20b4934bc443f7a889c81e5e3a3
parent2f209ccfbe5e6b33088763b1e022ba876fb0f35c
[lldb][NFC] Remove redundant ASTContext args to CopyDecl/DeportDecl

We already pass a Decl here and the additional ASTContext needs to
match the Decl. We might as well just pass the Decl and then extract
the ASTContext from that.
lldb/include/lldb/Symbol/ClangASTImporter.h
lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
lldb/source/Symbol/ClangASTImporter.cpp
lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
lldb/unittests/Symbol/TestClangASTImporter.cpp