[clang] [clang-tools-extra] [Clang][Sema]Report error for non-base types in constructor initializers before causing issue in initializer order (PR #201379)
Yanzuo Liu via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 09:02:04 PDT 2026
================
@@ -647,7 +647,7 @@ namespace gh192510 {
};
template<typename T>
- class X: public Base {
+ class X: public Base, private C<T> {
----------------
zwuis wrote:
If I read correctly this is a clang-tidy-part issue that wrong test was added. We can keep this modification in this PR and let clang-tidy folks fix the issue.
https://github.com/llvm/llvm-project/pull/192786#issuecomment-4780938309
https://github.com/llvm/llvm-project/pull/201379
More information about the cfe-commits
mailing list