[all-commits] [llvm/llvm-project] b3f193: [DivergenceAnalysis] Fix static analyzer warning a...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Jan 8 05:58:05 PST 2022
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-01-08 (Sat, 08 Jan 2022)
[DivergenceAnalysis] Fix static analyzer warning about dereference of nullptr
We're testing that the RegionLoop pointer is null in the first part of the check, so we need to check that its non-null before dereferencing it in a later part of the check.
More information about the All-commits