JohelEGP added a comment.
Another weird formatting when direct-initializing a variable with a
non-parenthesized requires-expression:
constexpr void test_width()
{
bool invalid_rep{!requires {typename jge::width<T>;
}
}
;
}
vs
constexpr void test_width()
{
bool invalid_rep{!(requires { typename jge::width<T>; })};
bool invalid_rep = !(requires { typename jge::width<T>; });
bool invalid_rep = !requires
{
typename jge::width<T>;
};
}
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79773/new/
https://reviews.llvm.org/D79773
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits