aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-07-30 10:13:18 -0700
committerGitHub <noreply@github.com>2024-07-30 10:13:18 -0700
commitd69d981d77ee2c9aa740e192d81dabb53c7c3cda (patch)
treec6caf1df4d6934ab92d6fbdaa7a1d6b520a47361 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h
parentc95abe94aebb6862c3518e590343df3b7376ccee (diff)
downloadllvm-d69d981d77ee2c9aa740e192d81dabb53c7c3cda.zip
llvm-d69d981d77ee2c9aa740e192d81dabb53c7c3cda.tar.gz
llvm-d69d981d77ee2c9aa740e192d81dabb53c7c3cda.tar.bz2
[Tooling] -fsyntax-only adjuster: remove -c and -S
compile_commands.json entries often have -c. When adding -fsyntax-only, we should remove -c to prevent the following warning: ``` % clang -c -fsyntax-only a.c clang: warning: argument unused during compilation: '-c' [-Wunused-command-line-argument] ``` Previously, -c and -S were inappropriately claimed in `addPGOAndCoverageFlags` (see the workaround added by commit a07b135ce0c0111bd83450b5dc29ef0381cdbc39). Now the workaround have been removed (#98607). (clangDriver reports a -Wunused-command-line-argument diagnostic for each unclaimed option.) Fix #100909 Pull Request: https://github.com/llvm/llvm-project/pull/101103
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions