[lldb][NFC] Remove all overloads of Copy/DeportType in ClangASTImporter
authorRaphael Isemann <teemperor@gmail.com>
Mon, 16 Dec 2019 10:52:36 +0000 (11:52 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Mon, 16 Dec 2019 11:09:05 +0000 (12:09 +0100)
commit75e8a91cf84fce2432f70949ab9e353ff2322a5f
tree7cd3fa6d339f6ba88746b1d8e8e08944efdaf9ba
parentea2805a04b65331ca568ff76761ef8a52337e42b
[lldb][NFC] Remove all overloads of Copy/DeportType in ClangASTImporter

The overloads that don't take a CompilerType serve no purpose as we
always have a CompilerType in the scope where we call them. Instead
just call the overload that takes a CompilerType and delete the
now unused other overloaded methods.
lldb/include/lldb/Symbol/ClangASTImporter.h
lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
lldb/source/Symbol/ClangASTImporter.cpp