Code review comments.

This commit is contained in:
George Karpenkov
2017-06-15 10:43:27 -07:00
parent ce3f94baa4
commit 071f23eb63
6 changed files with 28 additions and 14 deletions

View File

@@ -1422,7 +1422,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
if (const Arg *A = Args.getLastArg(options::OPT_sanitize_EQ)) {
Opts.Sanitize = parseSanitizerArgValues(
A, Triple, Diags,
/* sanitizerRuntimeLibExists= */[&](const StringRef libName) {
/* sanitizerRuntimeLibExists= */[](StringRef libName) {
// The driver has checked the existence of the library
// already.