hvdijk added a comment.

In D91913#2520244 <https://reviews.llvm.org/D91913#2520244>, @dmajor wrote:

> We have a downstream build break due to this commit. One of our files has 
> some convoluted arg-counting logic that now returns a different count, which 
> does not match gcc: https://godbolt.org/z/W8caMr (Note: At time of writing, 
> the clang trunk on godbolt doesn't yet have this change.)

I get `int nArgs = 1;` with GCC and with clang (with this change) in 
`-std=c++11` mode, I get `int nArgs = 0;` with GCC and with clang (with this 
change) in `-std=gnu++11` mode and in default mode. Which command line options 
are needed to get output where GCC and clang differ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91913

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

Reply via email to