diff options
author | Tom Eccles <tom.eccles@arm.com> | 2025-08-26 11:12:03 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 11:12:03 +0100 |
commit | 34109cd26ae1b317d91c061500d9828fe6ebab0b (patch) | |
tree | 12bd94b2c284ee13a9595ec59f837ddffbe4e724 /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 3d722f5ed9497cc6118c119dece7db6b694e093a (diff) | |
download | llvm-34109cd26ae1b317d91c061500d9828fe6ebab0b.zip llvm-34109cd26ae1b317d91c061500d9828fe6ebab0b.tar.gz llvm-34109cd26ae1b317d91c061500d9828fe6ebab0b.tar.bz2 |
[flang][OpenMP] move omp end directive validation to semantics (#154739)
The old parse tree errors quckly exploded to thousands of unhelpful
lines when there were multiple missing end directives (e.g. #90452).
Instead I've added a flag to the parse tree indicating when a missing
end directive needs to be diagnosed, and moved the error messages to
semantics (where they are a lot easier to control).
This has the disadvantage of not displaying the error if there were
other parse errors, but there is a precedent for this approach (e.g.
parsing atomic constructs).
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions