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/Annotations.cpp URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/Annotations.cpp?rev=321192&r1=321191&r2=321192&view=diff ============================================================================== --- clang-tools-extra/trunk/unittests/clangd/Annotations.cpp (original) +++ clang-tools-extra/trunk/unittests/clangd/Annotations.cpp Wed Dec 20 09:22:56 2017 @@ -24,7 +24,7 @@ static void require(bool Assertion, cons Annotations::Annotations(StringRef Text) { auto Here = [this] { return offsetToPosition(Code, Code.size()); }; - auto Require = [this, Text](bool Assertion, const char *Msg) { + auto Require = [Text](bool Assertion, const char *Msg) { require(Assertion, Msg, Text); }; Optional<StringRef> Name; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits