[Lldb-commits] [PATCH] D134378: [lldb] Support simplified template names
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 27 07:08:41 PDT 2022
labath added a comment.
I can't say I fully understand all of this code, but I also don't know who would, so I guess I'll just say it "looks good" :)
I am wondering about the testing situation though. If I understand correctly, you've run the test suite with hardcoded simplified names, and it all passed (?)
I am definitely not suggesting we add a new test suite mode for that, but maybe we could extend this one test case with extra check that look at the type names in other contexts than in name lookup (e.g. expression evaluation, backtraces, ???) -- just to make sure that something doesn't break there in the future. WDYT?
================
Comment at: lldb/test/API/lang/cpp/unique-types2/main.cpp:20
+ FooPack<int, int> t6;
+ FooPack<int, int, int> t7;
+ // Set breakpoint here
----------------
Would it be interesting to test nested types as well (`Foo<T>::Bar<U>`) ?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134378/new/
https://reviews.llvm.org/D134378
More information about the lldb-commits
mailing list