diff options
author | Peter Klausler <pklausler@nvidia.com> | 2023-02-02 12:11:01 -0800 |
---|---|---|
committer | Peter Klausler <pklausler@nvidia.com> | 2023-02-12 11:42:38 -0800 |
commit | 594700c12247e64a623043164fc10a93d59f5068 (patch) | |
tree | 13125dd7aebf1480e9a5594e808cf89c764aac83 /llvm/unittests/Support/MathExtrasTest.cpp | |
parent | 129eb5bcab91a12ed3c4712279f201834ae2d8e1 (diff) | |
download | llvm-594700c12247e64a623043164fc10a93d59f5068.zip llvm-594700c12247e64a623043164fc10a93d59f5068.tar.gz llvm-594700c12247e64a623043164fc10a93d59f5068.tar.bz2 |
[flang] Warn about construct names that are not distinct in the inclusive scope
f18 implements BLOCK scoping for construct names, like most but not all Fortran
compilers, but in the 2018 standard such names are defined to be local identifiers
whose scope is the inclusive scope -- i.e., the subprogram or main program.
Detect usage that depends on this extension and emit a portability warning.
Differential Revision: https://reviews.llvm.org/D143776
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions