aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorTobias Hieta <tobias@hieta.se>2023-02-09 10:53:39 +0100
committerTobias Hieta <tobias@hieta.se>2023-02-13 15:43:08 +0100
commit877859a09bda29fe9a7f1a9016b06cf80661a032 (patch)
treee2ee928e8cf10680867240a0da271b1891ade350 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parenta01edb169bb06c2091b6c9fe6d7a9f07fc673766 (diff)
downloadllvm-877859a09bda29fe9a7f1a9016b06cf80661a032.zip
llvm-877859a09bda29fe9a7f1a9016b06cf80661a032.tar.gz
llvm-877859a09bda29fe9a7f1a9016b06cf80661a032.tar.bz2
[clang] Handle __declspec() attributes in using
This patch fixes so that declspec attributes are forwarded to the alias declaration. Before this patch this would assert: class Test { int a; }; using AlignedTest = __declspec(align(16)) const Test; static_assert(alignof(AlignedTest) == 16, "error"); But afterwards it behaves the same as MSVC does and doesn't assert. Fixes: llvm/llvm-project#60513 Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D143632
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions