summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Tooling/CompilationDatabase.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Tooling/CompilationDatabase.cpp b/clang/lib/Tooling/CompilationDatabase.cpp
index 37e0027246a..52452e7c6ea 100644
--- a/clang/lib/Tooling/CompilationDatabase.cpp
+++ b/clang/lib/Tooling/CompilationDatabase.cpp
@@ -272,7 +272,6 @@ bool stripPositionalArgs(std::vector<const char *> Args,
End = std::remove_if(Args.begin(), End, MatchesAny(DiagClient.UnusedInputs));
// Remove the -c add above as well. It will be at the end right now.
- assert(*(End - 1) == "-c");
--End;
Result = std::vector<std::string>(Args.begin() + 1, End);
OpenPOWER on IntegriCloud