[patch] Delete Reloc::Default.

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 09:35:42 PDT 2016


Having an enum member named Default is quite confusing: Is it distinct
from the others?

This patch removes that member and instead uses Optional<Reloc> in
places where we have a user input that still hasn't been maped to the
default value, which is now clear has no be one of the remaining 3
options.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Delete-Reloc-Default.patch
Type: text/x-patch
Size: 80062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160518/bf3ab7e4/attachment-0001.bin>


More information about the llvm-commits mailing list