[Lldb-commits] [lldb] [lldb] Fix lookup of types in anonymous namespaces with -gsimple-template-names (PR #123054)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 15 07:33:15 PST 2025
================
@@ -5,6 +5,13 @@ struct Outer {
struct Inner {};
};
+namespace NS {
+namespace {
+template <typename T> struct Struct {};
+} // namespace
+} // namespace NS
+
int main() {
Outer::Inner<int> oi;
+ NS::Struct<int> ns_struct;
----------------
Michael137 wrote:
Just for test completeness, could we also test this for a union?
https://github.com/llvm/llvm-project/pull/123054
More information about the lldb-commits
mailing list