[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-19 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. In D133906#3792666 , @JDevlieghere wrote: > In D133906#3792230 , @labath wrote: > >> // no .def file >> #define LLDB_FORWARD_CLASS(cls) \ >> namespace lldb_private { class cls; } \

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-15 Thread Greg Clayton via Phabricator via lldb-commits
clayborg added a comment. I really wish the .def files would actually generate a header file in the output directory. I am not a fan of using code navigation when saying "take me to the definition of "class Block;" and it shows: #define LLDB_FORWARD_CLASS(Name) class Name; #include "lldb-fo

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-15 Thread Jim Ingham via Phabricator via lldb-commits
jingham added a comment. To some extent, the fact that we define an XxxSP for a class is saying "This is a thing we mostly pass around as a shared pointer" which would be lost if every time we make an SP or UP we use the same syntax. But I'm not sure that that's a terribly strong objection.

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-15 Thread Dave Lee via Phabricator via lldb-commits
kastiglione added a comment. SP and UP templates seems fine to me. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133906/new/ https://reviews.llvm.org/D133906 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-15 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. In D133906#3792230 , @labath wrote: > In D133906#3791352 , @JDevlieghere > wrote: > >> In D133906#3791153 , @jingham >> wrote: >> >>> This

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-15 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. In D133906#3791352 , @JDevlieghere wrote: > In D133906#3791153 , @jingham wrote: > >> This patch makes me a little sad because it breaks the "Jump to Definition" >> chain in Xcode (and I

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere added a comment. In D133906#3791153 , @jingham wrote: > This patch makes me a little sad because it breaks the "Jump to Definition" > chain in Xcode (and I bet it does in other IDE's that support this.) You > used to be able to do "Jump to

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib accepted this revision. mib added a comment. In D133906#3791153 , @jingham wrote: > This patch makes me a little sad because it breaks the "Jump to Definition" > chain in Xcode (and I bet it does in other IDE's that support this.) You > used to be

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Med Ismail Bennani via Phabricator via lldb-commits
mib added a comment. In D133906#3791153 , @jingham wrote: > This patch makes me a little sad because it breaks the "Jump to Definition" > chain in Xcode (and I bet it does in other IDE's that support this.) You > used to be able to do "Jump to Definiti

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Jim Ingham via Phabricator via lldb-commits
jingham added a comment. This patch makes me a little sad because it breaks the "Jump to Definition" chain Xcode (and I bet it does in other IDE's that support this.) You used to be able to do "Jump to Definition" on ProcessSP, then jump to definition on the class name in the shared pointer de

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Adrian Prantl via Phabricator via lldb-commits
aprantl accepted this revision. aprantl added a comment. This revision is now accepted and ready to land. Definitely better than the previous contents! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133906/new/ https://reviews.llvm.org/D133906 ___

[Lldb-commits] [PATCH] D133906: [lldb] Generate lldb-forward with .def file

2022-09-14 Thread Jonas Devlieghere via Phabricator via lldb-commits
JDevlieghere created this revision. JDevlieghere added reviewers: mib, aprantl, labath. Herald added a project: All. JDevlieghere requested review of this revision. Generate lldb-forward with .def file. The benefit is that we don't have to keep the list of classes, and typedefs in sync. https:/