[Lldb-commits] [lldb] [lldb][Expression] Add API to set/get language-specific expression options (PR #179208)

Michael Buch via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 2 15:56:48 PST 2026


================
@@ -107,6 +107,10 @@ class LLDB_API SBExpressionOptions {
   // Sets whether we will JIT an expression if it cannot be interpreted
   void SetAllowJIT(bool allow);
 
+  bool GetLanguageOptionAsBoolean(const char *option_name) const;
----------------
Michael137 wrote:

Could work. I just did t want to have a setter that takes an SBStructuredData because it made things pretty unergonimic. Si i just mirrored the setter/getter. But i dint feel stringly abiut either direction

https://github.com/llvm/llvm-project/pull/179208


More information about the lldb-commits mailing list