[PATCH] D41549: Detemplate reportDuplicate

Rafael Ávila de Espíndola via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 22 16:16:40 PST 2017


rafael created this revision.
rafael added reviewers: ruiu, grimar.
Herald added a subscriber: emaste.

We normally avoid "switch (Config->EKind)", but in this case I think it is worth it.

It is only executed when there is an error and it allows detemplating a lot of code.


https://reviews.llvm.org/D41549

Files:
  ELF/Driver.cpp
  ELF/InputFiles.cpp
  ELF/InputFiles.h
  ELF/InputSection.cpp
  ELF/InputSection.h
  ELF/Relocations.cpp
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h
  ELF/Writer.cpp
  ELF/Writer.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41549.128062.patch
Type: text/x-patch
Size: 24525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171223/7fbc4430/attachment-0001.bin>


More information about the llvm-commits mailing list