llvm-project/clang/lib/Tooling
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
..
ASTDiff [clang-diff] Treat CXXCtorInitializer as a node 2017-08-27 22:52:20 +00:00
Core Moved QualTypeNames.h from Tooling to AST. 2017-11-08 10:39:03 +00:00
Refactoring [refactor][selection] canonicalize decl ref callee to the call expr 2017-11-14 23:10:50 +00:00
ArgumentsAdjusters.cpp Fix skipping of flags in getClangStripDependencyFileAdjuster 2017-11-17 16:27:21 +00:00
CMakeLists.txt [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00
CommonOptionsParser.cpp [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00
CompilationDatabase.cpp [Tooling] Use FixedCompilationDatabase when `compile_flags.txt` is found. 2017-11-09 10:37:39 +00:00
Execution.cpp [Tooling] Fix linking of StandaloneToolExecutorPlugin. 2017-11-03 15:57:27 +00:00
FileMatchTrie.cpp Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
FixIt.cpp [tooling] FixItHint Tooling refactoring 2016-05-11 14:31:39 +00:00
JSONCompilationDatabase.cpp [Tooling] Remove redundant check, NFCi 2017-05-05 14:07:23 +00:00
Refactoring.cpp Apply clang-tidy's performance-unnecessary-value-param to parts of clang. 2017-03-21 21:35:04 +00:00
RefactoringCallbacks.cpp [tooling] RefactoringCallbacks code cleanup 2017-05-12 00:16:56 +00:00
StandaloneExecution.cpp [Tooling] Fix linking of StandaloneToolExecutorPlugin. 2017-11-03 15:57:27 +00:00
Tooling.cpp [Tooling] A new framework for executing clang frontend actions. 2017-10-26 10:38:14 +00:00