diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-20 03:29:19 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2019-09-20 03:29:19 +0000 |
commit | 4aef105b43076e18e2d272a77491adc9533f5f3f (patch) | |
tree | c82a74aced6298ca07712d1311ea574d3c76668a /llvm/lib/Object/Archive.cpp | |
parent | 8c77674e0f4b8a1d64740088eaa0776197b9e350 (diff) | |
download | bcm5719-llvm-4aef105b43076e18e2d272a77491adc9533f5f3f.tar.gz bcm5719-llvm-4aef105b43076e18e2d272a77491adc9533f5f3f.zip |
Finish building the full-expression for a static_assert expression
before evaluating it rather than afterwards.
This is groundwork for C++20's P0784R7, where non-trivial destructors
can be constexpr, so we need ExprWithCleanups markers in constant
expressions.
No significant functionality change intended (though this fixes a bug
only visible through libclang / -ast-dump / tooling: we now store the
converted condition on the StaticAssertDecl rather than the original).
llvm-svn: 372368
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
0 files changed, 0 insertions, 0 deletions