diff options
author | Elizabeth Andrews <elizabeth.andrews@intel.com> | 2023-08-11 20:18:49 -0700 |
---|---|---|
committer | Elizabeth Andrews <elizabeth.andrews@intel.com> | 2023-08-16 13:52:45 -0700 |
commit | e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58 (patch) | |
tree | a5063d86eb3b8e4b3ed1b23379c08e8b8fd70208 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 2cc5f5d43c20428c9b9799176ae2d1da0bf9330d (diff) | |
download | llvm-e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58.zip llvm-e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58.tar.gz llvm-e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58.tar.bz2 |
[NFC][Clang] Fix static analyzer concern
Fixed static analyzer concern about null value
dereference. getStmtForDiagnostics() can return
null. Ensure statement exists before dereference
in PathDiagnosticLocation::createBegin().
Differential Revision: https://reviews.llvm.org/D157888
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions