Re: r300145 - ExternalASTMerger.cpp: Silence another warning. [-Wunused-lambda-capture]

2017-04-17 Thread David Blaikie via cfe-commits
I'll change this to [&] capture - any lambda that doesn't escape it's scope should generally use [&] & that'll avoid the need for explicitly discarding conditionally unused captures, etc. On Wed, Apr 12, 2017 at 5:45 PM NAKAMURA Takumi via cfe-commits < cfe-commits@lists.llvm.org> wrote: >

r300145 - ExternalASTMerger.cpp: Silence another warning. [-Wunused-lambda-capture]

2017-04-12 Thread NAKAMURA Takumi via cfe-commits
Author: chapuni Date: Wed Apr 12 19:17:28 2017 New Revision: 300145 URL: http://llvm.org/viewvc/llvm-project?rev=300145=rev Log: ExternalASTMerger.cpp: Silence another warning. [-Wunused-lambda-capture] Modified: cfe/trunk/lib/AST/ExternalASTMerger.cpp Modified: