Skip to content
  • Rafael Espindola's avatar
    8c34dd82
    Delete Reloc::Default. · 8c34dd82
    Rafael Espindola authored
    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.
    
    llvm-svn: 269988
    8c34dd82
    Delete Reloc::Default.
    Rafael Espindola authored
    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.
    
    llvm-svn: 269988
Loading