[Lldb-commits] [lldb] [llvm] [lldb] Move SBLanguages.h out of API tree (PR #111929)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 14 10:52:15 PDT 2024


================
@@ -136,6 +136,8 @@ class LLDB_API SBWatchpoint;
 class LLDB_API SBWatchpointOptions;
 class LLDB_API SBUnixSignals;
 
+typedef SourceLanguageName SBSourceLanguageName;
----------------
bulbazord wrote:

I'm not sure a typedef is enough here. It ends up being little more than syntactic sugar, the final symbol will still contain `SourceLanguageName` instead of `SBSourceLanguageName`. To verify this, you can perform a build with this patch and search for `SBExpressionOptions::SetLanguage` and make sure it still retains the `SBSourceLanguageName` symbol.

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


More information about the lldb-commits mailing list