diff options
| author | Zachary Turner <zturner@google.com> | 2017-08-11 20:37:49 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-08-11 20:37:49 +0000 |
| commit | 964e096345084b4ea1edba30c82f6f38d9c0884a (patch) | |
| tree | 648f5b39f50a87f3392e05d8be13a32f3e782a32 | |
| parent | a85ab2e5a19c3b16c6314352a88ad81ce5faf9fe (diff) | |
| download | bcm5719-llvm-964e096345084b4ea1edba30c82f6f38d9c0884a.tar.gz bcm5719-llvm-964e096345084b4ea1edba30c82f6f38d9c0884a.zip | |
Remove unused lambda capture.
llvm-svn: 310752
| -rw-r--r-- | lld/COFF/PDB.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/PDB.cpp b/lld/COFF/PDB.cpp index ef23c1d2b2e..6f9f21a7917 100644 --- a/lld/COFF/PDB.cpp +++ b/lld/COFF/PDB.cpp @@ -709,7 +709,7 @@ void PDBLinker::addObjectsToPDB() { // Compute the public and global symbols. auto &GsiBuilder = Builder.getGsiBuilder(); std::vector<PublicSym32> Publics; - Symtab->forEachSymbol([&Publics, &GsiBuilder](Symbol *S) { + Symtab->forEachSymbol([&Publics](Symbol *S) { // Only emit defined, live symbols that have a chunk. auto *Def = dyn_cast<Defined>(S->body()); if (Def && Def->isLive() && Def->getChunk()) |

