[ELF] Replace HasContents with HasSections. NFC
llvm-svn: 281449
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 9442eed..054f1e4 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -762,7 +762,7 @@
} else if (Tok == "VERSION") {
readVersion();
} else if (SymbolAssignment *Cmd = readProvideOrAssignment(Tok, true)) {
- if (Opt.HasContents)
+ if (Opt.HasSections)
Opt.Commands.emplace_back(Cmd);
else
Opt.Assignments.emplace_back(Cmd);
@@ -923,7 +923,7 @@
}
void ScriptParser::readSections() {
- Opt.HasContents = true;
+ Opt.HasSections = true;
expect("{");
while (!Error && !skip("}")) {
StringRef Tok = next();