aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2021-10-29 16:23:22 -0700
committerPeter Klausler <pklausler@nvidia.com>2021-11-08 11:52:01 -0800
commit80f0bb5971e9a778e025d2bb91cbcb8b84a56d07 (patch)
tree9d4344e180a4b67e8728815ecaa6b1a19a8e017c /llvm/lib/Support/VirtualFileSystem.cpp
parent1837a837b36b075011c2616edfa20b8161e58a72 (diff)
downloadllvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.zip
llvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.tar.gz
llvm-80f0bb5971e9a778e025d2bb91cbcb8b84a56d07.tar.bz2
[flang] Distinguish error/warning cases for bad jumps into constructs
Previously, jumps to labels in constructs from exterior statements would elicit only a warning. Upgrade these to errors unless the branch into the construct would enter into only DO, IF, and SELECT CASE constructs, whose interiors don't scope variables or have other set-up/tear-down semantics. Branches into these "safe" constructs are still errors if they're nested in an unsafe construct that doesn't also enclose the exterior branch statement. Differential Revision: https://reviews.llvm.org/D113310
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions