aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-tapi-diff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2023-06-14 19:48:04 +0100
committerIain Sandoe <iain@sandoe.co.uk>2023-06-24 09:01:59 +0100
commite5c7904fa0bfa5a24f192cfa7b9116560e1f5d43 (patch)
tree5cb516fe5c8b9eabdfaa60324bf11be867173b9b /llvm/tools/llvm-tapi-diff
parent339a1f3ce36067facae6aa4b9f9901c791e481e7 (diff)
downloadllvm-e5c7904fa0bfa5a24f192cfa7b9116560e1f5d43.zip
llvm-e5c7904fa0bfa5a24f192cfa7b9116560e1f5d43.tar.gz
llvm-e5c7904fa0bfa5a24f192cfa7b9116560e1f5d43.tar.bz2
[C++20][Modules] Implement P2615R1 revised export diagnostics.
It has been reported to that the current clang errors for, specifically, static_assert in export contexts are a serious blocker to adoption of modules in some cases. There is also implementation divergence with GCC and MSVC allowing the constructs mentioned below where clang currently rejects them with an error. The category of errors [for declarations in an exported context] is: (unnamed, static_assert, empty and asm decls). These are now permitted after P2615R1 which was approved by WG21 as a DR (and thus should be applied to C++20 as well). This patch removes these diagnostics and amends the testsuite accordingly. Differential Revision: https://reviews.llvm.org/D152946
Diffstat (limited to 'llvm/tools/llvm-tapi-diff')
0 files changed, 0 insertions, 0 deletions