================
@@ -203,6 +203,9 @@ namespace cwg1762 { // cwg1762: 14
   float operator ""E(const char *);
   // since-cxx11-error@-1 {{invalid suffix on literal; C++11 requires a space 
between literal and identifier}}
   // since-cxx11-warning@-2 {{user-defined literal suffixes not starting with 
'_' are reserved; no literal will invoke this operator}}
+  // since-cxx11-warning@-3 {{identifier 'E' preceded by whitespace in a 
literal operator declaration is deprecated}}
----------------
erichkeane wrote:

We kinda already do ship this!

 But yeah, I put a fixme there because I don't have a good way of figuring out 
how to avoid it.  Is there a good way of detecting that we added the space with 
a fixit, so that we can skip the warning in that case?

https://github.com/llvm/llvm-project/pull/111027
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to