Skip to content

Commit c989f9b

Browse files
Michael137adrian-prantl
authored andcommitted
[lldb][ASTUtils] Remove unused SemaSourceWithPriorities::addSource API
As far as I can tell, this has always been unused. My hunch is that this was supposed to mimick the `MultiplexExternalSemaSource::AddSource` API which `SemaSourceWithPriorities` is based on. (cherry picked from commit c7a54bf)
1 parent 07056c8 commit c989f9b

File tree

1 file changed

+0
-4
lines changed
  • lldb/source/Plugins/ExpressionParser/Clang

1 file changed

+0
-4
lines changed

lldb/source/Plugins/ExpressionParser/Clang/ASTUtils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ class SemaSourceWithPriorities : public ImporterBackedASTSource {
295295

296296
~SemaSourceWithPriorities() override;
297297

298-
void addSource(clang::ExternalSemaSource &source) {
299-
Sources.push_back(&source);
300-
}
301-
302298
//===--------------------------------------------------------------------===//
303299
// ExternalASTSource.
304300
//===--------------------------------------------------------------------===//

0 commit comments

Comments
 (0)