[clang] [clang-tools-extra] [Clang][Sema]Report error for non-base types in constructor initializers before causing issue in initializer order (PR #201379)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 23 06:29:19 PDT 2026


================
@@ -17,6 +17,7 @@
 #include "clang/AST/CXXInheritance.h"
 #include "clang/AST/CharUnits.h"
 #include "clang/AST/ComparisonCategories.h"
+#include "clang/AST/DeclBase.h"
----------------
cor3ntin wrote:

I do not think this change is necessary

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


More information about the cfe-commits mailing list