mizvekov added inline comments.

================
Comment at: clang/test/CXX/drs/dr3xx.cpp:444
   void f(volatile void); // expected-error {{'void' as parameter must not have 
type qualifiers}}
+  // cxx20_2b-warning@-1 {{volatile-qualified parameter type 'volatile void' 
is deprecated}}
   void g(const void); // expected-error {{'void' as parameter must not have 
type qualifiers}}
----------------
mizvekov wrote:
> Quuxplusone wrote:
> > This gives an error //and// a C++20 warning? 😛
> > Oh yeah. Huh. https://godbolt.org/z/eMY9zMs54 That's definitely a Clang 
> > bug. Feel like filing it?
> heh, no problem.
https://bugs.llvm.org/show_bug.cgi?id=49703


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99225/new/

https://reviews.llvm.org/D99225

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to