[all-commits] [llvm/llvm-project] dad362: [clang] Rework IsTailPaddedMemberArray into isFlex...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Thu Sep 22 05:04:57 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dad36245a5c2e3779b4eede6fcbbddad19a2f01d
https://github.com/llvm/llvm-project/commit/dad36245a5c2e3779b4eede6fcbbddad19a2f01d
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-09-22 (Thu, 22 Sep 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaChecking.cpp
M clang/test/Sema/unbounded-array-bounds.c
Log Message:
-----------
[clang] Rework IsTailPaddedMemberArray into isFlexibleArrayMemberExpr
This fixes a bunch of FIXME within IsTailPaddedMemberArray related code.
As a side effect, this now also triggers a warning when trying to access a
"struct hack" member with an index above address space index range.
Differential Revision: https://reviews.llvm.org/D133108
More information about the All-commits
mailing list