aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2020-02-05 15:31:38 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2020-02-05 15:32:18 +0000
commite63abde39f530028b0089ea477446c1b671a28f1 (patch)
tree54c276892049782e958acbf68c6a8a868bb47895 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent01022af5d5a109c903e843f0e33378b5bc805ed1 (diff)
downloadllvm-e63abde39f530028b0089ea477446c1b671a28f1.zip
llvm-e63abde39f530028b0089ea477446c1b671a28f1.tar.gz
llvm-e63abde39f530028b0089ea477446c1b671a28f1.tar.bz2
[clang][driver] Fix null pointer dereference warning inside PrintActions1 (PR43462)
As detailed on PR43462, clang static analyzer is complaining about a null pointer dereference as we provide a 'host' toolchain fallback if the ToolChain pointer is null, but then use that pointer anyhow to report the triple. Tests indicate the ToolChain pointer is always valid and the 'host' code path is redundant. Differential Revision: https://reviews.llvm.org/D74046
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions