[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
Tue Feb 3 00:04:24 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;
+
+  void SetLanguageOption(const char *option_name, bool value);
+
----------------
Michael137 wrote:

Sounds good, I'll rename the two as suggested!

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


More information about the lldb-commits mailing list