Turning on -Wshadow


(Michael Gottesman) #1

I just ran into a bug that would have been caught by -Wshadow.

Are there any objections to turning this flag on by default if I can get the tree clean?

Michael


(Michael Gottesman) #2

Actually nm. It looks like LLVM fails this on its own = /. So no point in talking about this... yet.

Michael

ยทยทยท

On Feb 14, 2016, at 2:54 PM, Michael Gottesman via swift-dev <swift-dev@swift.org> wrote:

I just ran into a bug that would have been caught by -Wshadow.

Are there any objections to turning this flag on by default if I can get the tree clean?

Michael
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev