You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, the parens of a requires expression's "parameters" were not
explicitly set, meaning they ended up as whatever the outer scope was.
This is a problem in some cases though, since the process of determining
star/amp checks if the token is inside of an expression context
This patch always makes sure the context between those parens are always
set to not be an expression
Fixesllvm/llvm-project#59600
Reviewed By: HazardyKnusperkeks, owenpan
Differential Revision: https://reviews.llvm.org/D140330
Consider the following variable template:
Note the incorrect spacing of the &&, as it is annotated with
T=BinaryOperator
.This issue doesn't exist for concept definitions:
Style:
{}
(empty)Reproduced on main (6161a8d) and 15.0.2
The text was updated successfully, but these errors were encountered: