diff options
author | Vy Nguyen <vyng@google.com> | 2024-06-25 12:01:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-25 12:01:17 -0400 |
commit | e951bd0f51f8b077296f09d9c60ddf150048042f (patch) | |
tree | edad4c96f878a8be2ab8f4ba282974556b8cf088 /lldb/source/API/SBDebugger.cpp | |
parent | b7768c5485844306cd3c8afeef609ddf9d79696a (diff) | |
download | llvm-e951bd0f51f8b077296f09d9c60ddf150048042f.zip llvm-e951bd0f51f8b077296f09d9c60ddf150048042f.tar.gz llvm-e951bd0f51f8b077296f09d9c60ddf150048042f.tar.bz2 |
Reapply PR/87550 (again) (#95571)
New fixes:
- properly init the `std::optional<std::vector>` to an empty vector as
opposed to `{}` (which was effectively `std::nullopt`).
---------
Co-authored-by: Vy Nguyen <oontvoo@users.noreply.github.com>
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r-- | lldb/source/API/SBDebugger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp index 7ef0d6e..29da7d3 100644 --- a/lldb/source/API/SBDebugger.cpp +++ b/lldb/source/API/SBDebugger.cpp @@ -1742,3 +1742,7 @@ bool SBDebugger::InterruptRequested() { return m_opaque_sp->InterruptRequested(); return false; } + +bool SBDebugger::SupportsLanguage(lldb::LanguageType language) { + return TypeSystem::SupportsLanguageStatic(language); +} |