aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMats Petersson <mats.petersson@arm.com>2025-05-13 15:37:26 +0100
committerGitHub <noreply@github.com>2025-05-13 15:37:26 +0100
commit764e0ccbba02c141b2fc8d869d58694b02119588 (patch)
tree4f0696f0285e412a5c6a1916b9de75c3eb5cfec5 /clang/lib/CodeGen/CodeGenModule.cpp
parent75d36dc5a77ba3759eef15aeca925a1400504c89 (diff)
downloadllvm-764e0ccbba02c141b2fc8d869d58694b02119588.zip
llvm-764e0ccbba02c141b2fc8d869d58694b02119588.tar.gz
llvm-764e0ccbba02c141b2fc8d869d58694b02119588.tar.bz2
[flang][OpenMP]Replace assert with if-condition (#139559)
If a symbol is not declared, check-omp-structure hits an assert. It should be safe to treat undeclared symbols as "not from a block", as they would have to be declared to be in a block... Adding simple test to confirm it gives error messages, not crashing. This should fix issue #131655 (there is already a check for symbol being not null in the code identified in the ticket).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions