<div dir="ltr">Seems fixed! Thanks!<br><br><div class="gmail_quote"><div dir="ltr">On Mon, Sep 18, 2017 at 5:27 PM Vitaly Buka via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: vitalybuka<br>
Date: Mon Sep 18 01:26:01 2017<br>
New Revision: 313521<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=313521&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=313521&view=rev</a><br>
Log:<br>
Another attempt to fix warning discovered by r313487. [-Wunused-lambda-capture]<br>
<br>
Modified:<br>
    cfe/trunk/lib/Lex/PPLexerChange.cpp<br>
<br>
Modified: cfe/trunk/lib/Lex/PPLexerChange.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPLexerChange.cpp?rev=313521&r1=313520&r2=313521&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPLexerChange.cpp?rev=313521&r1=313520&r2=313521&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/lib/Lex/PPLexerChange.cpp (original)<br>
+++ cfe/trunk/lib/Lex/PPLexerChange.cpp Mon Sep 18 01:26:01 2017<br>
@@ -42,7 +42,7 @@ bool Preprocessor::isInPrimaryFile() con<br>
          "Top level include stack isn't our primary lexer?");<br>
   return std::none_of(<br>
       IncludeMacroStack.begin() + 1, IncludeMacroStack.end(),<br>
-      [this](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); });<br>
+      [&](const IncludeStackInfo &ISI) -> bool { return IsFileLexer(ISI); });<br>
 }<br>
<br>
 /// getCurrentLexer - Return the current file lexer being lexed from.  Note<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div></div>