summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-15 15:38:26 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-09-15 15:38:26 +0000
commit4f234aaf2c9801364d1855dc82466c4a307360cb (patch)
treee2e5fda4949c10e9177ebeb80fa1dce6cbd445f0 /clang/lib/Serialization/ASTReader.cpp
parentb325c057322ce14b5c561d8ac49508adab7649e5 (diff)
downloadbcm5719-llvm-4f234aaf2c9801364d1855dc82466c4a307360cb.tar.gz
bcm5719-llvm-4f234aaf2c9801364d1855dc82466c4a307360cb.zip
[DebugInfo] Don't dereference a dyn_cast<PDBSymbolData> result. NFCI.
The static analyzer is warning about a potential null dereference - but as we're in DataMemberLayoutItem we should be able to guarantee that the Symbol is a PDBSymbolData type, allowing us to use cast<PDBSymbolData> - and if not assert will fire for us. llvm-svn: 371933
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud