[PATCH] D86999: getClangStripDependencyFileAdjuster(): Do not remove -M args when using MSVC cl driver

Shivanshu Goyal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 2 17:40:26 PDT 2020


shivanshu3 updated this revision to Diff 289606.
shivanshu3 added a comment.

- Simplified the implementation of `getDriverMode` and got rid of the `Optional` return type.
- When using the cl driver mode, we do not want to skip the next argument for -MF, -MT, -MQ.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86999/new/

https://reviews.llvm.org/D86999

Files:
  clang/lib/Tooling/ArgumentsAdjusters.cpp
  clang/unittests/Tooling/ToolingTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86999.289606.patch
Type: text/x-patch
Size: 3947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200903/4f95ec4c/attachment.bin>


More information about the llvm-commits mailing list