From f7791bb9c6d458437d4e8abe72f846bb3bf8527f Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 26 Jul 2016 19:34:10 +0000 Subject: [PATCH] Remove return type that can trivially be inferred. llvm-svn: 276794 --- lld/ELF/LinkerScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ Expr ScriptParser::readPrimary() { 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("("); -- 2.7.4