nickdesaulniers added inline comments.
================ Comment at: clang/lib/AST/Decl.cpp:4541-4544 +bool FieldDecl::isFlexibleArrayMemberLike( + ASTContext &Ctx, + LangOptions::StrictFlexArraysLevelKind StrictFlexArraysLevel, + bool IgnoreTemplateOrMacroSubstitution) const { ---------------- nickdesaulniers wrote: > There's a lambda in `isUserWritingOffTheEnd` in > clang/lib/AST/ExprConstant.cpp assigned to a variable > `isFlexibleArrayMember`. Any way we can reuse code between here and there if > we host that into a proper method somewhere else? s/host/hoist/ Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148381/new/ https://reviews.llvm.org/D148381 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits