This patch adds support for the joined version of -o (e.g. -ofilename) command parameter when reading the clang arguments.
It also fixes a bug, as the first occurence of -o was used instead of the last one.
Paths
| Differential D92330
[clang-scan-deps] Improve argument parsing to find target object file path. ClosedPublic Authored by saudi on Nov 30 2020, 9:12 AM.
Details Summary This patch adds support for the joined version of -o (e.g. -ofilename) command parameter when reading the clang arguments. It also fixes a bug, as the first occurence of -o was used instead of the last one.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 30 2020, 11:16 AM This revision was landed with ongoing or failed builds.Dec 1 2020, 12:04 PM Closed by commit rG79ba7967f481: [clang-scan-deps] Improve argument parsing to find target object file path. (authored by saudi). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 308731 clang/test/ClangScanDeps/Inputs/target-filename-cdb.json
clang/test/ClangScanDeps/target-filename.cpp
clang/tools/clang-scan-deps/ClangScanDeps.cpp
|