================
@@ -1496,6 +1496,12 @@ class DeclRefExpr final
     setDependence(computeDependence(this, Context));
   }
 
+  /// This DeclRefExpr is parenthesized as if it were written in parentheses,
+  /// e.g., "(x)". This is used in replacement expressions produced from
+  /// canonical template arguments.
+  bool isParenthesized() const { return DeclRefExprBits.IsParenthesized; }
----------------
mizvekov wrote:

Wait, never mind, we do support it as an extension already, unlike GCC. 
https://compiler-explorer.com/z/fq1dvzb6W
This could be one of those warnings that turns into an error in a SFNIAE 
context, I will double check.

https://github.com/llvm/llvm-project/pull/200850
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to