sammccall added a comment.

The intent here is that `user-defined-string-literal-chunk := STRING_LITERAL` 
only matches when there's a ud-suffix. And `string-literal-chunk := 
STRING_LITERAL` only matches when there isn't.
(e.g. with a rule guard, which we don't have implemented)
If this was happening, would we still have the explosion?

I believe (once the guards are added) this patch will lead to rejecting "foo" 
"bar"_ud "baz".


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125794

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

Reply via email to