summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-03-20 09:51:18 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-03-20 09:51:18 +0000
commit009833d377246f1e1f193d4f9a49da9d3a4ee676 (patch)
tree0c601eb46766c1f91ecee355d4609e64229e76b1 /lld/ELF/LinkerScript.cpp
parent8a67eb144fcd91d14431434bd9fc26c59305e02f (diff)
downloadbcm5719-llvm-009833d377246f1e1f193d4f9a49da9d3a4ee676.tar.gz
bcm5719-llvm-009833d377246f1e1f193d4f9a49da9d3a4ee676.zip
[ELF] - Apply clang-format. NFC.
llvm-svn: 298240
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index e93f138324f..ee437912a80 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -2037,8 +2037,8 @@ std::vector<SymbolVersion> ScriptParser::readVersionExtern() {
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::readMemoryAssignment(
// TODO: Fully support constant expressions.
uint64_t Val;
if (!readInteger(next(), Val))
- setError("nonconstant expression for "+ S1);
+ setError("nonconstant expression for " + S1);
return Val;
}
OpenPOWER on IntegriCloud