diff options
author | Shivanshu Goyal <Shivanshu.Goyal@microsoft.com> | 2020-09-08 10:17:05 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-09-08 10:21:18 +0200 |
commit | 2168dbf4cc766dfb552076d9b1e84b00122b7993 (patch) | |
tree | adbe5f2dfb093c6d1dc45f2e9943d2197d47f914 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9be6178449555576645ac922e342936319445cac (diff) | |
download | llvm-2168dbf4cc766dfb552076d9b1e84b00122b7993.zip llvm-2168dbf4cc766dfb552076d9b1e84b00122b7993.tar.gz llvm-2168dbf4cc766dfb552076d9b1e84b00122b7993.tar.bz2 |
getClangStripDependencyFileAdjuster(): Do not remove -M args when using MSVC cl driver
MSVC's cl.exe has a few command line arguments which start with -M such
as "-MD", "-MDd", "-MT", "-MTd", "-MP".
These arguments are not dependency file generation related, and these
arguments were being removed by getClangStripDependencyFileAdjuster()
which was wrong.
Differential revision: https://reviews.llvm.org/D86999
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions