diff options
author | Valentin Clement <clementval@gmail.com> | 2023-02-01 15:53:52 +0100 |
---|---|---|
committer | Valentin Clement <clementval@gmail.com> | 2023-02-01 15:55:23 +0100 |
commit | 591e3e6207894ebaee1e47a82fcfb3b246459f76 (patch) | |
tree | 707db094485d11206b423d502854dda1912bea8d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 78f88082de3627ea04501c83a08f52cf1e60b4f7 (diff) | |
download | llvm-591e3e6207894ebaee1e47a82fcfb3b246459f76.zip llvm-591e3e6207894ebaee1e47a82fcfb3b246459f76.tar.gz llvm-591e3e6207894ebaee1e47a82fcfb3b246459f76.tar.bz2 |
[flang] Make EndProgramStmt a NOP + early return
Fix done in D143055 can be simpler by making EndProgramStmt a NOP
and dealing with the exit in `endNewFunction` in a centralize way.
Also add finalization when there is an early exit in the main
program.
Reviewed By: jeanPerier
Differential Revision: https://reviews.llvm.org/D143065
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions