macurtis-amd wrote:

> I am not sure clang driver should does this unusual suppression.
> 
> You'd also get a warning with: `clang test.c -E -Wall -pedantic; clang test.i 
> -S -Wall -pedantic`
> 
> There might be a different strategy to suppress this diagnostic?

Did you have an alternative in mind?

Driver seemed like to best place to me because it is generating the commands 
for both the producer and consumer of the preprocessed file.
 

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

Reply via email to