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 | 7dbdcfcb827c68b0c380de289a2d7526666b8771 (patch) | |
tree | 3d3ff0c2f9984ac481448f9cd02e8c0a76575399 /docs | |
parent | 6cef91733c7878da84548f8175a60a3b9dfb28cc (diff) | |
download | clang-7dbdcfcb827c68b0c380de289a2d7526666b8771.tar.gz |
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).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions