aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDmitry Chestnykh <dm.chestnykh@gmail.com>2024-07-23 01:15:53 +0300
committerGitHub <noreply@github.com>2024-07-23 01:15:53 +0300
commit1efcc532bab505db079bd3becffe32f742287c71 (patch)
treec4ca7ec25b7bb52726b7cdec1aa9ef5c98d4fadd /clang/lib/Frontend/CompilerInvocation.cpp
parent9da087147a6be2053365e3bb30f0864456efaea0 (diff)
downloadllvm-1efcc532bab505db079bd3becffe32f742287c71.zip
llvm-1efcc532bab505db079bd3becffe32f742287c71.tar.gz
llvm-1efcc532bab505db079bd3becffe32f742287c71.tar.bz2
[Clang][Driver] Warn about `-c/-S` with `-fsyntax-only` (#98607)
Emit warning that `-S` and/or `-c` arguments are not used if `-fsyntax-only` is also passed to clang `addPGOAndCoverageFlags` is not the right place to produce this warning Now `-fsyntax-only -c/-S` combination handles like `-fsyntax-only -E` in `BuildJobs()` driver function
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions