[PATCH] D22633: [ELF] - Add ScriptParserBase::expect(ArrayRef<StringRef>)

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 10:05:07 PDT 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar, evgeny777.

What about adding
ScriptParserBase::expect(ArrayRef<StringRef> Expect) ?

That helps to reduce the code a bit.

https://reviews.llvm.org/D22633

Files:
  ELF/LinkerScript.cpp
  ELF/ScriptParser.cpp
  ELF/ScriptParser.h
  ELF/SymbolListFile.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22633.64919.patch
Type: text/x-patch
Size: 2829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160721/f4f61684/attachment.bin>


More information about the llvm-commits mailing list