[clang] [Sema]Use tag name lookup for class names (PR #112166)

via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 14 08:15:32 PDT 2024


================
@@ -7,3 +7,15 @@ namespace PR5840 {
   int Base = 10;
   struct Derived : Base {};
 }
+
+namespace issue_16855 {
+  struct x {};
+  namespace
+  {
+      namespace x
+      {
+          struct y : x
+          {};
+      }
+  }
+}
----------------
Sirraide wrote:

nit: missing newline

https://github.com/llvm/llvm-project/pull/112166


More information about the cfe-commits mailing list