diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-04-05 05:06:58 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-04-05 05:06:58 +0000 |
| commit | 583264e47709d71c7726fe15dd878fcba76a8fd3 (patch) | |
| tree | 3153dcb50375f1e070d12162f9e7dcfe044fa1e2 /lld/ELF/LinkerScript.cpp | |
| parent | f62d2607443197ef2bca84a10e91551ad63a615f (diff) | |
| download | bcm5719-llvm-583264e47709d71c7726fe15dd878fcba76a8fd3.tar.gz bcm5719-llvm-583264e47709d71c7726fe15dd878fcba76a8fd3.zip | |
Do not use public inheritance where it is not needed.
ScriptParser is not a ScriptLexer, so this should be a private inheritance.
llvm-svn: 299513
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index e1d6edc26e0..a51a2fc95cc 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -1026,7 +1026,7 @@ size_t LinkerScript::getPhdrIndex(const Twine &Loc, StringRef PhdrName) { return 0; } -class elf::ScriptParser final : public ScriptLexer { +class elf::ScriptParser final : ScriptLexer { typedef void (ScriptParser::*Handler)(); public: |

