aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2023-01-27 11:01:12 -0500
committerAaron Ballman <aaron@aaronballman.com>2023-01-27 11:01:58 -0500
commit63d6b8be6cf2422228a1a8800d85a11be469c6e2 (patch)
treedd54eacae0e30d39b471a0a8efbec8146e77754a /llvm/lib/CodeGen/StackProtector.cpp
parentb59bc7812493248b59b8da0e0ec6ac038283d227 (diff)
downloadllvm-63d6b8be6cf2422228a1a8800d85a11be469c6e2.zip
llvm-63d6b8be6cf2422228a1a8800d85a11be469c6e2.tar.gz
llvm-63d6b8be6cf2422228a1a8800d85a11be469c6e2.tar.bz2
Stop diagnosing member and array access in offsetof as an extension
This was a mistake from e7300e75b51a7e7d4e81975b4be7a6c65f9a8286 (https://reviews.llvm.org/D133574) caused by us accidentally tracking an older copy of the C DR list for DR496. The text in https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2396.htm#dr_496 makes it clear that subobjects are allowed, which means member and array access expressions are allowed. This backs out the changes from the previous commit that relate to this diagnostic.
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions