[PATCH] D19972: [scan-build] fix warnings emitted on LLVM dsymutil code base

Frederic Riss via llvm-commits llvm-commits at lists.llvm.org
Thu May 5 12:57:36 PDT 2016


friss added a subscriber: friss.
friss added a comment.

Attr can never be null here because one of Loc or Block will be non-null. This looks like a deficiency of the static analyzer. I'd rather initialize Attr in each of the branches of the if above if that helps.


http://reviews.llvm.org/D19972





More information about the llvm-commits mailing list