aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-03-02 17:37:58 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-03-12 17:12:40 +0000
commit627b5c12068cc90b476a9121862a481e1d57be85 (patch)
treecd5cde9f06b00b2cee347559d479f612fa8d4fe5 /llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp
parent39969c7d3a6da8a60ac3ac7d10f471dea87cfca5 (diff)
downloadllvm-627b5c12068cc90b476a9121862a481e1d57be85.zip
llvm-627b5c12068cc90b476a9121862a481e1d57be85.tar.gz
llvm-627b5c12068cc90b476a9121862a481e1d57be85.tar.bz2
[Sema][SVE] Reject aligned/_Alignas for sizeless types
A previous patch rejected alignof for sizeless types. This patch extends that to cover the "aligned" attribute and _Alignas. Since sizeless types are not meant to be used for long-term data, cannot be used in aggregates, and cannot have static storage duration, there shouldn't be any need to fiddle with their alignment. Like with alignof, this is a conservative position that can be relaxed in future if it turns out to be too restrictive. Differential Revision: https://reviews.llvm.org/D75573
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp')
0 files changed, 0 insertions, 0 deletions