r341761 - Fix build bots after a mistake in r341760
Hamza Sood via cfe-commits
cfe-commits at lists.llvm.org
Sun Sep 9 06:12:53 PDT 2018
Author: hamzasood
Date: Sun Sep 9 06:12:53 2018
New Revision: 341761
URL: http://llvm.org/viewvc/llvm-project?rev=341761&view=rev
Log:
Fix build bots after a mistake in r341760
Modified:
cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp
Modified: cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp?rev=341761&r1=341760&r2=341761&view=diff
==============================================================================
--- cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp (original)
+++ cfe/trunk/lib/Tooling/InterpolatingCompilationDatabase.cpp Sun Sep 9 06:12:53 2018
@@ -188,7 +188,7 @@ struct TransferableCommand {
}
Cmd.CommandLine.insert(Cmd.CommandLine.end(),
- &OldArgs[OldPos], &OldArgs[Pos]);
+ OldArgs.data() + OldPos, OldArgs.data() + Pos);
}
if (Std != LangStandard::lang_unspecified) // -std take precedence over -x
More information about the cfe-commits
mailing list