[llvm-dev] llvm::cl::opt and enums

Renato Golin via llvm-dev llvm-dev at lists.llvm.org
Thu Sep 1 02:36:19 PDT 2016


On 1 September 2016 at 10:16, Martin J. O'Riordan
<martin.oriordan at movidius.com> wrote:
> Your recommended solution not only works perfectly, it is also very elegant
> and I can use meaningful words for the options instead of having to remember
> the enumerate values.  It is also far safer, because it rejects invalid
> values.

Great! Glad to have helped. :)

--renato


More information about the llvm-dev mailing list