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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits