mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
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.