yronglin wrote: Thanks for your review! The latest update add a RecoveryExpr for invalid in-class-initializer. But I have some concerns about the inconsistency between `RecordDecl::hasInClassInitializer()` and `FieldDecl::hasInClassInitializer()`. FieldDecl has a method `removeInClassInitializer` to modifiy the AST Node.
https://github.com/llvm/llvm-project/pull/113049 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits