Author: Pavel Labath Date: 2024-07-19T11:37:29+02:00 New Revision: a27037becd1bdea568e2f970d4b85fa5e02f3b08
URL: https://github.com/llvm/llvm-project/commit/a27037becd1bdea568e2f970d4b85fa5e02f3b08 DIFF: https://github.com/llvm/llvm-project/commit/a27037becd1bdea568e2f970d4b85fa5e02f3b08.diff LOG: [lldb] Forward-declare lldb-private::SaveCoreOptions to avoid including private headers from the API headers. This fixes API tests which link against the lldb library. Added: Modified: lldb/include/lldb/API/SBSaveCoreOptions.h lldb/include/lldb/lldb-forward.h Removed: ################################################################################ diff --git a/lldb/include/lldb/API/SBSaveCoreOptions.h b/lldb/include/lldb/API/SBSaveCoreOptions.h index b8659bf128a78..e77496bd3a4a0 100644 --- a/lldb/include/lldb/API/SBSaveCoreOptions.h +++ b/lldb/include/lldb/API/SBSaveCoreOptions.h @@ -10,7 +10,6 @@ #define LLDB_API_SBSAVECOREOPTIONS_H #include "lldb/API/SBDefines.h" -#include "lldb/Symbol/SaveCoreOptions.h" namespace lldb { diff --git a/lldb/include/lldb/lldb-forward.h b/lldb/include/lldb/lldb-forward.h index 9c946eaa19f0b..1024501e05bca 100644 --- a/lldb/include/lldb/lldb-forward.h +++ b/lldb/include/lldb/lldb-forward.h @@ -182,6 +182,7 @@ class RegisterTypeBuilder; class RegisterValue; class RegularExpression; class RichManglingContext; +class SaveCoreOptions; class Scalar; class ScriptInterpreter; class ScriptInterpreterLocker; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits