[PATCH] D126864: [clang] Introduce -fstrict-flex-arrays=<n> for stricter handling of flexible arrays

Vitaly Buka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 27 14:09:49 PDT 2022


vitalybuka updated this revision to Diff 440388.
vitalybuka edited the summary of this revision.
vitalybuka added a comment.

exactly as reverted revision
886715af962de2c92fac4bd37104450345711e4a <https://reviews.llvm.org/rG886715af962de2c92fac4bd37104450345711e4a> + 572b08790a69f955ae0cbb1b4a7d4a215f15dad9 <https://reviews.llvm.org/rG572b08790a69f955ae0cbb1b4a7d4a215f15dad9>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126864

Files:
  clang/docs/ClangCommandLineReference.rst
  clang/docs/ReleaseNotes.rst
  clang/include/clang/AST/Expr.h
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Driver/Options.td
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h
  clang/lib/AST/Expr.cpp
  clang/lib/AST/ExprConstant.cpp
  clang/lib/CodeGen/CGExpr.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/lib/Sema/SemaChecking.cpp
  clang/lib/StaticAnalyzer/Core/MemRegion.cpp
  clang/test/CodeGen/bounds-checking-fma.c
  clang/test/CodeGen/bounds-checking.c
  clang/test/CodeGen/object-size-flex-array.c
  clang/test/CodeGenObjC/ubsan-array-bounds.m
  clang/test/Sema/array-bounds-ptr-arith.c
  clang/test/SemaCXX/array-bounds-strict-flex-arrays.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126864.440388.patch
Type: text/x-patch
Size: 24121 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220627/984dbfe1/attachment-0001.bin>


More information about the cfe-commits mailing list