This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Check if language is supported before creating a REPL instance
ClosedPublic

Authored by JDevlieghere on Dec 13 2021, 9:18 PM.

Details

Summary

Currently, we'll try to instantiate a ClangREPL for every known language. The plugin manager already knows what languages are supported, so rely on that to only instantiate a REPL when we know the requested language in supported.

rdar://86439474

Diff Detail

Event Timeline

JDevlieghere requested review of this revision.Dec 13 2021, 9:18 PM
JDevlieghere created this revision.
aprantl accepted this revision.Dec 14 2021, 11:00 AM
This revision is now accepted and ready to land.Dec 14 2021, 11:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2021, 12:05 PM