projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
012c8f9
)
[clangd] Remove an unused lambda capture.
author
Eric Liu
<ioeric@google.com>
Wed, 20 Dec 2017 17:22:56 +0000
(17:22 +0000)
committer
Eric Liu
<ioeric@google.com>
Wed, 20 Dec 2017 17:22:56 +0000
(17:22 +0000)
llvm-svn: 321192
clang-tools-extra/unittests/clangd/Annotations.cpp
patch
|
blob
|
history
diff --git
a/clang-tools-extra/unittests/clangd/Annotations.cpp
b/clang-tools-extra/unittests/clangd/Annotations.cpp
index
6953221
..
6bd81c8
100644
(file)
--- a/
clang-tools-extra/unittests/clangd/Annotations.cpp
+++ b/
clang-tools-extra/unittests/clangd/Annotations.cpp
@@
-24,7
+24,7
@@
static void require(bool Assertion, const char *Msg, llvm::StringRef Code) {
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;