[PATCH] D17983: Eliminate many benign instances of "potentially uninitialized local variable" warnings

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 17:13:03 PST 2016


On Wed, Mar 9, 2016 at 12:06 PM, Alexander Riccio via cfe-commits <
cfe-commits at lists.llvm.org> wrote:

> ariccio added a comment.
>
> Oh, and by the way, what's the policy on using `enum class`es instead of C
> style enums? I bet the compiler would have fewer false positives with
> strongly typed enums?
>

Don't think we have a policy - a discussion on llvm-dev (+cfe-dev) might be
worth getting buy in before you start writing patches to do widescale
changes to enum classes (probably first thing is to check all the supported
compilers support that feature, though)

- Dave


>
>
> http://reviews.llvm.org/D17983
>
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/56f40d6c/attachment.html>


More information about the llvm-commits mailing list