apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

FormatManager::GetPossibleMatches assumes all ValueObjects have targets. #8821

Closed jimingham closed 1 month ago

jimingham commented 1 month ago

But one made in a situation where that's impossible might only have an error, and no symbol context, so that's not necessarily true. Check for the target's validity before using it.

Fixes issue #93313

jimingham commented 1 month ago

Oops, wrong project...