[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://r
[lldb][tests] Automatically call compute_mydir (NFC)Eliminate boilerplate of having each test manually assign to `mydir` by calling`compute_mydir` in lldbtest.py.Differential Revision: https://reviews.llvm.org/D128077
show more ...
[lldb] Give TestDefaultTemplateArgs a unique class nameMultiple tests cannot share the same test class name.
[lldb] Always include template arguments that have their default value in the internal type nameOur type formatters/summaries match on the internal type name we generate in LLDB for Clang types.T
[lldb] Always include template arguments that have their default value in the internal type nameOur type formatters/summaries match on the internal type name we generate in LLDB for Clang types.These names were generated using Clang's default printing policy. However Clang'sdefault printing policy got tweaked over the last month to make the generated typenames more readable (by for example excluding inline/anonymous namespaces andremoving template arguments that have their default value). This broke the formattersystem where LLDB's matching logic now no longer can format certain types asthe new type names generated by Clang's default printing policy no longer matchthe type names that LLDB/the user specified.I already introduced LLDB's own type printing policy and fixed the inline/anonymousnamespaces in da121fff1184267a405f81a87f7314df2d474e1c (just to get thetest suite passing again).This patch is restoring the old type printing behaviour where always include the templatearguments in the internal type name (even if they match the default args). This should gettemplate type formatters/summaries working again in the rare situation where we doknow template default arguments within LLDB. This can only happen when either havinga template that was parsed in the expression parser or when we get type information from a C++ module.The Clang change that removed defaulted template arguments from Clang's printing policy wase7f3e2103cdb567dda4fd52f81bf4bc07179f5a8Reviewed By: labathDifferential Revision: https://reviews.llvm.org/D92311