[lldb][NFC] Remove ClangASTContext::Clear
authorRaphael Isemann <teemperor@gmail.com>
Wed, 2 Oct 2019 12:38:04 +0000 (12:38 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Wed, 2 Oct 2019 12:38:04 +0000 (12:38 +0000)
commitecbfb851a07348a16022289f18b96cfa94bd8125
tree4be701f8883c4c4ef56ecda732a58fc11c43ccde
parent067ed96e8e5a642d671770ad8b5d109ae00eb9bc
[lldb][NFC] Remove ClangASTContext::Clear

We now only use this function directly after initialization. As Clear()
resets the ASTContext back to its initial state, this is just a no-op.
There are no other users for this and we no longer can set the ASTContext
after construction, so Clear has no useful purpose anymore. It's also
mostly copy-pasted from Finalize().

llvm-svn: 373460
lldb/include/lldb/Symbol/ClangASTContext.h
lldb/source/Symbol/ClangASTContext.cpp