[PATCH] D135107: [clang][NFC] Use enum for -fstrict-flex-arrays

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 3 14:40:29 PDT 2022


void created this revision.
void added reviewers: efriedma, kees, serge-sans-paille.
Herald added subscribers: steakhal, martong.
Herald added a reviewer: NoQ.
Herald added a project: All.
void requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Use enums for the strict flex arrays flag so that it's more readable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135107

Files:
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Basic/LangOptions.h
  clang/include/clang/Driver/Options.td
  clang/lib/AST/ExprConstant.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/StaticAnalyzer/Core/MemRegion.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135107.464825.patch
Type: text/x-patch
Size: 8443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221003/62b73e85/attachment-0001.bin>


More information about the cfe-commits mailing list