Now instead of just no-class-definitions, we can get a little more granular. This is now an enum, with 3 possible values: 1) None - Don't display any class definitions. This is equivalent to specifying -no-class-definitions before. 2) Layout - Displays only class members which affect class layout -- e.g. data members. All functions, typedefs, nested classes, etc will be suppressed. 3) Full - Displays everything. This is equivalent to the default behavior before this patch, and is still the default behavior after this patch.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Slightly better logic in layout mode. It was dumping constants and static members before which don't occupy any space in a record.
Comment Actions
LGTM.
Clang-format did some awkward comment wrapping in some of the new code.
When the Native reader catches up, we'll have to update the test config to run the tests on all platforms, which may require the -output-color=false options, but that'll probably be my problem later.
llvm/tools/llvm-pdbdump/PrettyClassDefinitionDumper.cpp | ||
---|---|---|
81 ↗ | (On Diff #94458) | Can you fix the wrapping on these comments? |