[all-commits] [llvm/llvm-project] e62b2f: [NFC][Clang] Fix static analyzer concern
elizabethandrews via All-commits
all-commits at lists.llvm.org
Wed Aug 16 14:10:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58
https://github.com/llvm/llvm-project/commit/e62b2fc40d11b6b13bcc08d7ceafe1472abe4c58
Author: Elizabeth Andrews <elizabeth.andrews at intel.com>
Date: 2023-08-16 (Wed, 16 Aug 2023)
Changed paths:
M clang/lib/StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list