steelannelida added a comment.

Unfortunately the option -Wno-reserved-user-defined-literal fails after this:

  #define MYTHING "_something_"
  
  const char* f() {
    return "ONE"MYTHING"TWO";
  }

  $ clang -Wno-reserved-user-defined-literal repro.cxx
  repro.cxx:4:15: error: no matching literal operator for call to 
'operator""MYTHING' with arguments of types 'const char *' and 'unsigned long', 
and no matching literal operator template
      4 |   return "ONE"MYTHING"TWO";
        |               ^
  1 error generated.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D153156

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

Reply via email to