Allow goto, labelled statements as well as static, thread_local, and
non-literal variables in constexpr functions.
As specified. for all of the above (except labelled statements) constant
evaluation of the construct still fails.
For constexpr bodies, the proposal is implemented with diagnostics as
a language extension in older language modes. For determination of
whether a lambda body satisfies the requirements for a constexpr
function, the proposal is implemented only in C++2b mode to retain the
semantics of older modes for programs conforming to them.
I think this is missing an else case to return false when checking for validity, similar to what's done on line 1916 and 1928.