[analyzer] Fix UninitializedObjectChecker to not crash on uninitialized "id" fields
authorGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 13 Aug 2018 23:32:15 +0000 (23:32 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Mon, 13 Aug 2018 23:32:15 +0000 (23:32 +0000)
commite3b1d962185c72fddaf634dcd80d468c01c96e6d
treeaaecf7f217bec319000ba751ee013102fdfd8da5
parenta7be375586bad56f4fc15da1fe1759deabef1ff6
[analyzer] Fix UninitializedObjectChecker to not crash on uninitialized "id" fields

Differential Revision: https://reviews.llvm.org/D50673

llvm-svn: 339631
clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
clang/test/Analysis/objcpp-uninitialized-object.mm