[clang-tools-extra] [clang-tidy] Fix crash in readability-identifier-naming (PR #220221)
Zeyi Xu via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 3 02:36:27 PDT 2026
================
@@ -834,3 +834,13 @@ Some_struct g_s1{ .SomeMember = 1 };
// CHECK-FIXES: Some_struct g_s1{ .some_member = 1 };
Some_struct g_s2{.SomeMember=1};
// CHECK-FIXES: Some_struct g_s2{.some_member=1};
+
+// NOLINTBEGIN
+template<class T>
+struct X {
+ struct B;
+ struct A : public B {
+ virtual void foo() { }
+ };
+};
+// NOLINTEND
----------------
zeyi2 wrote:
I think we need to make sure that the CI passes. Could you fix the failure?
https://github.com/llvm/llvm-project/pull/220221
More information about the cfe-commits
mailing list