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("(");