diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-03-01 15:10:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 15:10:47 -0800 |
commit | 8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4 (patch) | |
tree | 64385beabe039971d5d3cc4db7941c7a751051d4 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | bcc6ca7ff86518caa97c6f20735a4728e18caa78 (diff) | |
download | llvm-8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4.zip llvm-8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4.tar.gz llvm-8f80d466d580d0fb97383eac8a2d7d9a1e3f15f4.tar.bz2 |
[flang] Fix crash in statement function semantics (bug #80532) (#82702)
When statement function expressions are analyzed, ensure that the
semantics context has a valid location set, otherwise a type spec (like
"integer::") can lead to a crash.
Fixes https://github.com/llvm/llvm-project/issues/80532.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions