r175705 - Use None rather than Optional<T>() where possible.

David Blaikie dblaikie at gmail.com
Wed Feb 20 22:10:22 PST 2013


On Wed, Feb 20, 2013 at 5:55 PM, Jordan Rose <jordan_rose at apple.com> wrote:

>
> On Feb 20, 2013, at 17:47 , David Blaikie <dblaikie at gmail.com> wrote:
>
> +// None.h includes an enumerant that is desired & cannot be forward
> declared
> +// without a definition of NoneType.
> +#include "llvm/ADT/None.h"
>
>
> "enumerant" is a cute word. The standards term for the values of an
> enumeration type, though, is "enumerator".
>

Fair point - fixed in r175724. Thanks for the correction

- David


> Thanks again for all the migration/cleanup work.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130220/5c6d5784/attachment.html>


More information about the cfe-commits mailing list