Generally I'd encourage you/anyone to use [&] for any lambda that doesn't
escape its scope - avoids any issues like this & doesn't really hinder
readability imho.
On Wed, Dec 20, 2017 at 9:23 AM Eric Liu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: ioeric
> Date: Wed Dec 20 09:2
Author: ioeric
Date: Wed Dec 20 09:22:56 2017
New Revision: 321192
URL: http://llvm.org/viewvc/llvm-project?rev=321192&view=rev
Log:
[clangd] Remove an unused lambda capture.
Modified:
clang-tools-extra/trunk/unittests/clangd/Annotations.cpp
Modified: clang-tools-extra/trunk/unittests/clangd