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

[lldb] Fix returns in AddObjectFileToReflectionContext #8823

Closed augusto2112 closed 1 month ago

augusto2112 commented 1 month ago

At some point the return type of AddObjectFileToReflectionContext was changed from bool to std::optional. However the return statements werent updated, and returns that should be "none" were being implictly being converted to some(0).

augusto2112 commented 1 month ago

@swift-ci test

adrian-prantl commented 1 month ago

Good one!