aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2025-06-26 06:55:48 -0400
committerGitHub <noreply@github.com>2025-06-26 06:55:48 -0400
commitd3fd7921d4d7158a487bdc839c9fa6c3b650b997 (patch)
tree062d33177f809ad279b879a603a9f4f3ed0a5e03 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parenta19ddff980136835fead07b346bd83e9211124a0 (diff)
downloadllvm-d3fd7921d4d7158a487bdc839c9fa6c3b650b997.zip
llvm-d3fd7921d4d7158a487bdc839c9fa6c3b650b997.tar.gz
llvm-d3fd7921d4d7158a487bdc839c9fa6c3b650b997.tar.bz2
Clarify some code based on static analysis complaints; NFC (#145679)
In one case, we have a null pointer check that's unnecessary because the only caller of the function already asserts the value is non-null. In the other case, we've got an anti-pattern of `is` followed by `get`. The logic was easier to repair by changing `get` to `cast`. Neither case is a functional change. Fixes #145525
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions