aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorPeter Klausler <pklausler@nvidia.com>2022-11-14 14:38:03 -0800
committerPeter Klausler <pklausler@nvidia.com>2022-12-03 17:47:35 -0800
commitdc0d56febba37ba672c1800be70a3ff5a42f4769 (patch)
tree5c6dc065bebe6b580540940b6c9bd4ee8bbc0d26 /clang/lib/Basic/SourceManager.cpp
parente86e2ab97300528e7a0fb4b63b87993fa054289e (diff)
downloadllvm-dc0d56febba37ba672c1800be70a3ff5a42f4769.zip
llvm-dc0d56febba37ba672c1800be70a3ff5a42f4769.tar.gz
llvm-dc0d56febba37ba672c1800be70a3ff5a42f4769.tar.bz2
[flang] Warn about local names that are the same as their enclosing program unit
Modules, submodules, main programs, and BLOCK DATA subprograms have names that cannot be used within their scope, so we allow those names to be used for other entities in the scope. This might not be entirely conformant with the language standard, so warn about it. Differential Revision: https://reviews.llvm.org/D139146
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions