[all-commits] [llvm/llvm-project] 31dd02: [clang] Fix -Warray-bound interaction with -fstric...
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Tue Aug 30 05:50:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 31dd0255aeaab7f2270abd0454e835842cfdcbb0
https://github.com/llvm/llvm-project/commit/31dd0255aeaab7f2270abd0454e835842cfdcbb0
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2022-08-30 (Tue, 30 Aug 2022)
Changed paths:
M clang/lib/Sema/SemaChecking.cpp
M clang/test/SemaCXX/array-bounds-strict-flex-arrays.cpp
Log Message:
-----------
[clang] Fix -Warray-bound interaction with -fstrict-flex-arrays=1
The test to check if an array was a FAM in the context of array bound checking
and strict-flex-arrays=1 was inverted.
As a by product, improve test coverage.
Differential Revision: https://reviews.llvm.org/D132853
More information about the All-commits
mailing list