commit | f7791bb9c6d458437d4e8abe72f846bb3bf8527f | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Tue Jul 26 19:34:10 2016 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Tue Jul 26 19:34:10 2016 +0000 |
tree | c3e501738bfdc13106927e8820f09bc0af2e5312 | |
parent | 57c3ddddecefdb6404e9f0970e55bf26f06f3a7f [diff] [blame] |
Remove return type that can trivially be inferred. llvm-svn: 276794
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index f3a3bbc..2ca0fde 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp
@@ -849,7 +849,7 @@ expect(","); readExpr(); expect(")"); - return [=](uint64_t Dot) -> uint64_t { return alignTo(Dot, E(Dot)); }; + return [=](uint64_t Dot) { return alignTo(Dot, E(Dot)); }; } if (Tok == "DATA_SEGMENT_END") { expect("(");