[PATCH] D19972: [scan-build] fix warnings emitted on LLVM dsymutil code base
Apelete Seketeli via llvm-commits
llvm-commits at lists.llvm.org
Tue May 17 12:52:13 PDT 2016
apelete added a comment.
In http://reviews.llvm.org/D19972#422770, @friss wrote:
> 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.
Tried initializing Attr in each of the if() branches and it didn't help with the warning.
I guess the warning in this file could be ignored since Attr is expected to never be null.
http://reviews.llvm.org/D19972
More information about the llvm-commits
mailing list