[PATCH] D134791: [clang] Unify Sema and CodeGen implementation of isFlexibleArrayMemberExpr

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 4 09:28:24 PDT 2022


serge-sans-paille added inline comments.


================
Comment at: clang/include/clang/AST/Expr.h:531
+  bool isFlexibleArrayMemberLike(
+      ASTContext &Context, unsigned StrictFlexArraysLevel,
+      bool IgnoreTemplateOrMacroSubstitution = false) const;
----------------
aaron.ballman wrote:
> Do we want to make the array levels into an enumeration instead of letting the user pass arbitrary integers? (Perhaps not as part of this review.)
Something along https://reviews.llvm.org/D135107 :-) ?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134791/new/

https://reviews.llvm.org/D134791



More information about the cfe-commits mailing list