llvm-project/clang/lib
Dave Lee 984964a04f Fix skipping of flags in getClangStripDependencyFileAdjuster
Summary:
The ArgumentsAdjuster returned from `getClangStripDependencyFileAdjuster` will
skip dependency flags, and also their associated values for those flags that
take an argument. This change corrects the handling of the `-MD` and `-MMD`
flags, which do not take an argument.

Reviewers: saugustine, klimek, alexshap

Reviewed By: alexshap

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D40024

llvm-svn: 318529
2017-11-17 16:27:21 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST PR22763: if a defaulted (non-user-provided) special member function is 2017-11-16 23:54:56 +00:00
ASTMatchers ASTMatchers.h: Fix ODR violations by avoiding internal linkage variables in headers 2017-11-15 16:52:12 +00:00
Analysis [analyzer] Model correct dispatch_once() 'done' value in BodyFarm 2017-11-06 22:12:19 +00:00
Basic [MinGW] Define __ARM_DWARF_EH__ for MinGW/ARM 2017-11-17 08:06:49 +00:00
CodeGen Update for layering fix in LLVM CodeGen<>Target 2017-11-17 01:07:20 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver Switch -mcount and -finstrument-functions to emit EnterExitInstrumenter attributes 2017-11-14 21:13:27 +00:00
Edit [clang] Fix format specifiers fixits for nested macros 2017-06-20 20:46:58 +00:00
Format [clang-format] Add text proto filename detection 2017-11-17 15:10:49 +00:00
Frontend Use llvm-config.h instead of config.h 2017-11-17 10:09:02 +00:00
FrontendTool [CMake] Use #cmakedefine01 for CLANG_ENABLE_(ARCMT|OBJC_REWRITER|STATIC_ANALYZER) 2017-10-18 05:21:17 +00:00
Headers [CUDA] Remove implementations of nexttoward. 2017-11-17 01:15:43 +00:00
Index [index] tag declarations should use the decl role instead of ref 2017-11-09 20:50:59 +00:00
Lex [refactor][extract] insert semicolons into extracted/inserted code 2017-11-03 18:11:22 +00:00
Parse [Parser] Fix TryParseLambdaIntroducer() error handling 2017-11-06 17:42:17 +00:00
Rewrite [Analyzer] Add support for displaying cross-file diagnostic paths in HTML output 2017-08-03 18:12:22 +00:00
Sema Issue -Wempty-body warnings for else blocks 2017-11-16 21:26:18 +00:00
Serialization [PCH+Modules] Improve diagnosticts to help out users pass an extra header search path 2017-11-17 03:24:11 +00:00
StaticAnalyzer Add NDEBUG checks around LLVM_DUMP_METHOD functions for Wunused-function warnings. 2017-11-16 03:18:09 +00:00
Tooling Fix skipping of flags in getClangStripDependencyFileAdjuster 2017-11-17 16:27:21 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00