aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorElizabeth Andrews <elizabeth.andrews@intel.com>2023-08-11 20:18:49 -0700
committerElizabeth Andrews <elizabeth.andrews@intel.com>2023-08-16 13:52:45 -0700
commite62b2fc40d11b6b13bcc08d7ceafe1472abe4c58 (patch)
treea5063d86eb3b8e4b3ed1b23379c08e8b8fd70208 /clang/lib/CodeGen/CodeGenFunction.cpp
parent2cc5f5d43c20428c9b9799176ae2d1da0bf9330d (diff)
downloadllvm-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