[lld] r298240 - [ELF] - Apply clang-format. NFC.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 02:51:18 PDT 2017
Author: grimar
Date: Mon Mar 20 04:51:18 2017
New Revision: 298240
URL: http://llvm.org/viewvc/llvm-project?rev=298240&view=rev
Log:
[ELF] - Apply clang-format. NFC.
Modified:
lld/trunk/ELF/LinkerScript.cpp
Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=298240&r1=298239&r2=298240&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Mon Mar 20 04:51:18 2017
@@ -2037,8 +2037,8 @@ std::vector<SymbolVersion> ScriptParser:
return Ret;
}
-uint64_t ScriptParser::readMemoryAssignment(
- StringRef S1, StringRef S2, StringRef S3) {
+uint64_t ScriptParser::readMemoryAssignment(StringRef S1, StringRef S2,
+ StringRef S3) {
if (!(consume(S1) || consume(S2) || consume(S3))) {
setError("expected one of: " + S1 + ", " + S2 + ", or " + S3);
return 0;
@@ -2048,7 +2048,7 @@ uint64_t ScriptParser::readMemoryAssignm
// TODO: Fully support constant expressions.
uint64_t Val;
if (!readInteger(next(), Val))
- setError("nonconstant expression for "+ S1);
+ setError("nonconstant expression for " + S1);
return Val;
}
More information about the llvm-commits
mailing list