diff options
| author | Corentin Jabot <corentinjabot@gmail.com> | 2023-02-17 19:45:30 +0100 |
|---|---|---|
| committer | Corentin Jabot <corentinjabot@gmail.com> | 2023-02-28 17:21:40 +0100 |
| commit | 00e2098bf49f0ed45b3b8c22894cd3ac9a530e0f (patch) | |
| tree | e4022dc5795cf863c705af66d0d49a433c7f0c7c /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 7344f8a8442a9c3cef159445f71b4f2886ed2798 (diff) | |
[Clang] Implement CWG2518 - static_assert(false)
This allows `static_assert(false)` to not be ill-formed
in template definitions.
This change is applied as a DR in all C++ modes.
Of notes, a couple of tests were relying of the eager nature
of static_assert
* test/SemaTemplate/instantiation-dependence.cpp
* test/SemaTemplate/instantiate-var-template.cpp
I don't know if the changes to `static_assert`
still allow that sort of tests to be expressed.
Reviewed By: #clang-language-wg, erichkeane, aaron.ballman
Differential Revision: https://reviews.llvm.org/D144285
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
