This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] Only generate absolute paths when asked to
ClosedPublic

Authored by jansvoboda11 on Apr 22 2021, 5:16 AM.

Details

Summary

Add option to clang-scan-deps to enable/disable generation of command-line arguments with absolute paths. This is essentially a revert of D100533, but with improved naming and added test.

Diff Detail

Event Timeline

jansvoboda11 requested review of this revision.Apr 22 2021, 5:16 AM
jansvoboda11 created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2021, 5:16 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Improve naming

dexonsmith accepted this revision.Apr 23 2021, 10:08 AM

LGTM, with one nit to pick.

clang/tools/clang-scan-deps/ClangScanDeps.cpp
392

Please land this spelling correction separately.

This revision is now accepted and ready to land.Apr 23 2021, 10:08 AM
jansvoboda11 retitled this revision from [clang][deps] Only generate absolute paths when asked to to [clang][deps] Only generate modules-related paths when asked to.Apr 26 2021, 1:50 AM
jansvoboda11 edited the summary of this revision. (Show Details)
jansvoboda11 retitled this revision from [clang][deps] Only generate modules-related paths when asked to to [clang][deps] Only generate absolute paths when asked to.
jansvoboda11 edited the summary of this revision. (Show Details)

Undo typo fix

This revision was landed with ongoing or failed builds.Apr 26 2021, 1:53 AM
This revision was automatically updated to reflect the committed changes.