commit | 7a8e790e9729be9c700e459451306158a49e7e93 | [log] [tgz] |
---|---|---|
author | Sylvain Audi <sylvain.audi@ubisoft.com> | Fri Apr 16 21:45:42 2021 -0400 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Apr 17 21:20:48 2021 -0700 |
tree | 5b8b0a121b3559509723998ccf500dfcf43e0f45 | |
parent | f7edf5650051e71ae6055fe3d1b5fab1a2a89e88 [diff] |
[clang-scan-deps] Support double-dashes in clang command lines This fixes argument injection in clang command lines, by adding them before "--". Previously, the arguments were injected at the end of the command line and could be added after "--", which would be wrongly interpreted as input file paths. This fix is needed for a subsequent patch, see D92191. Differential Revision: https://reviews.llvm.org/D95099 GitOrigin-RevId: 488a19d00cbaec479f8c5c298556d2246978f9e6