[PATCH] D41674: [Support] CommandLine API -- Allow creating custom parsers for fundamental types

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 27 01:57:19 PDT 2018


serge-sans-paille added a comment.

Interesting. Historically, we built an out-of-tree compiler, so `llvm::cl` was the natural choice to control pass behavior. Now that we work in-tree, using `llvm::Option` becomes a viable option.

Going that way, this patch should be repalced by a documentation patch that no longer advocates for subtyping basic types at all.


https://reviews.llvm.org/D41674





More information about the llvm-commits mailing list