[clang] [clang][driver] Suppress gnu-line-marker when saving temps (PR #134621)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 7 12:56:03 PDT 2025
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
More information about the cfe-commits
mailing list