petrhosek wrote:

> It seems like for gcc at least, IIUC, `cc` does a bit more than `c` so while 
> we are supporting `cc` for compatibility we are not fully supporting it? 
> Specifically:
> 
> `except try harder to print it with no punctuation`
> 
> Perhaps we should document that in the comment in `Stmt.cpp`, for gcc 
> comparability but not totally equivalent?

In our testing, Clang's `c` was already trying harder than GCC's `c` and in all 
the example we tried Clang's `c` matched GCC's `cc`. Do you know of any case 
where Clang's `c` is not equivalent to GCC's `cc`? 

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

Reply via email to