This is an archive of the discontinued LLVM Phabricator instance.

[analyzer] Fix UninitializedObjectChecker to not crash on uninitialized "id" fields
ClosedPublic

Authored by george.karpenkov on Aug 13 2018, 3:53 PM.

Diff Detail

Repository
rC Clang

Event Timeline

Szelethus accepted this revision.Aug 13 2018, 4:04 PM

Thanks! I don't have the resources to check how the checker behaves with objc, so I appreciate these greatly ^-^

This revision is now accepted and ready to land.Aug 13 2018, 4:04 PM
Szelethus added inline comments.Aug 13 2018, 4:10 PM
clang/test/Analysis/objcpp-uninitialized-object.mm
26 ↗(On Diff #160473)

I just commited a couple changes, this should I believe say "uninitialized pointer".

This revision was automatically updated to reflect the committed changes.