aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Program.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2025-04-29 08:20:08 +0200
committerGitHub <noreply@github.com>2025-04-29 08:20:08 +0200
commit679cc0a1ed60ea529abc04cecbcdd75d65ea0588 (patch)
tree943b45d945fe8357d1fff5e3494ad2239d072cc3 /clang/lib/AST/ByteCode/Program.cpp
parentebaeecc429f53c209ea58d6d4c7df3552adcb714 (diff)
downloadllvm-679cc0a1ed60ea529abc04cecbcdd75d65ea0588.zip
llvm-679cc0a1ed60ea529abc04cecbcdd75d65ea0588.tar.gz
llvm-679cc0a1ed60ea529abc04cecbcdd75d65ea0588.tar.bz2
[lldb] Remove Function null checks in Block.cpp (#137611)
As of #117683, Blocks are always enclosed in a function, so these checks never fail. We can't change the signature of `CalculateSymbolContextFunction` as it's an abstract function (and some of its implementations can return nullptr), but we can create a different function that we can call when we know we're dealing with a block.
Diffstat (limited to 'clang/lib/AST/ByteCode/Program.cpp')
0 files changed, 0 insertions, 0 deletions