[clang-tools-extra] [clang-tidy][NFC] Remove guidelines in documentation of misc-multiple-inheritance (PR #186657)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 16 01:20:22 PDT 2026


================
@@ -42,8 +42,3 @@ A class that inherits from a pure virtual is allowed:
     virtual int foo() override { return 0; }
     virtual int bar() override { return 0; }
   };
-
-References
----------------
zeyi2 wrote:

> I think that the automatic redirect isn't obvious and can be misleading.

If I understand correctly, this redirect behavior is currently relied on by `add_new_check.py`:

https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/add_new_check.py#L497-L509

It seems the script still use this as a heuristic to recognize alias check documentation.

(We'll need a RFC post on discourse first before we can remove it)

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


More information about the cfe-commits mailing list