commit | b5f1c3ec0cbecf28535df9b73ef17fccbf4a7e55 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Thu Dec 01 04:36:49 2016 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Thu Dec 01 04:36:49 2016 +0000 |
tree | d455d89719fbc62b889167dd906ee2bb6e5aa621 | |
parent | feafcd96881581f9d41d4fb98cfd214fedd356c4 [diff] [blame] |
Make get{Line,Column}Number members of StringParser. This patch also renames currentLocation getCurrentLocation. llvm-svn: 288308
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index f87922c..853f426 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp
@@ -1713,7 +1713,7 @@ return readParenExpr(); StringRef Tok = next(); - std::string Location = currentLocation(); + std::string Location = getCurrentLocation(); if (Tok == "~") { Expr E = readPrimary();