aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2023-02-04 17:55:45 -0800
committerPeter Klausler <pklausler@nvidia.com>2023-02-12 18:41:35 -0800
commit2e4499e749c0e0da71b70247e66f33f7e76991a2 (patch)
treeb3edd5d79f3b4eebe06059243150f06f9a69c32e /clang/lib/CodeGen
parentff5c00d4ffc84de0713101661a6d862930fd90a0 (diff)
downloadllvm-2e4499e749c0e0da71b70247e66f33f7e76991a2.zip
llvm-2e4499e749c0e0da71b70247e66f33f7e76991a2.tar.gz
llvm-2e4499e749c0e0da71b70247e66f33f7e76991a2.tar.bz2
[flang] Handle forward references to modules
When a USE of a module precedes its definition in the same source file, ensure that the module is processed by name resolution before the USE statement. This prevents the risk of the USE statement using an obsolete module file that is later overwritten during the same compilation. Differential Revision: https://reviews.llvm.org/D143799
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions