llvm-project
e1c3e16d - [clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749)

Commit
1 year ago
[clang] Fix a crash when a variable is captured by a block nested inside a lambda (#93749) `Eval->Value.get` returns a null pointer when the variable doesn't have an initializer. Use `cast_if_present` instead of `cast`. This fixes https://github.com/llvm/llvm-project/issues/93625. rdar://128482541
Author
Parents
Loading