aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEugene Epshteyn <eepshteyn@nvidia.com>2025-10-27 18:26:08 -0400
committerGitHub <noreply@github.com>2025-10-27 18:26:08 -0400
commit9702ec056b5509238353bff71c8f8bb664d95e4c (patch)
treefc0075617ab6e6dd7b76a51edb771859b3355206 /clang/lib/Frontend/CompilerInvocation.cpp
parenta06550574981d78f4e2ff5978391c4ed621e6b84 (diff)
downloadllvm-9702ec056b5509238353bff71c8f8bb664d95e4c.zip
llvm-9702ec056b5509238353bff71c8f8bb664d95e4c.tar.gz
llvm-9702ec056b5509238353bff71c8f8bb664d95e4c.tar.bz2
[flang] Fixed regression with CDEFINED linkage (#164616)
https://github.com/llvm/llvm-project/pull/162722 introduced a regression that started creating initializers for CDEFINED variables. CDEFINED variables cannot have initializers, because their storage is expected come from elsewhere, likely outside of Fortran. Fixed the regression and improved the regression test to catch the incorrect initialization case. Also, based on the code review feedback, made CDEFINED variable initialization a hard error and updated tests accordingly.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions