diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-01-29 17:31:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 17:31:35 -0800 |
commit | 3d1157000db56a340e1dae90b587bd144ffeaa6c (patch) | |
tree | a24874cdef73631b147fadd78302216990d28dc3 /llvm/lib/TextAPI/Symbol.cpp | |
parent | aa1968c2ebdd05aa3ba876062acd966a3e251ebe (diff) | |
download | llvm-3d1157000db56a340e1dae90b587bd144ffeaa6c.zip llvm-3d1157000db56a340e1dae90b587bd144ffeaa6c.tar.gz llvm-3d1157000db56a340e1dae90b587bd144ffeaa6c.tar.bz2 |
[flang] Restore error status for many indistinguishable specifics (#79927)
A recent patch to allow pFUnit to compile softened the diagnostic about
indistinguishable specific procedures to a portability warning. It turns
out that this was overkill -- for specific procedures containing no
optional or unlimited polymorphic dummy data arguments, a diagnosis of
"indistinguishable" can still be a hard error.
So adjust the analysis to be tri-state: two procedures are either
definitely distinguishable, definitely indistinguishable without
optionals or unlimited polymorphics, or indeterminate. Emit errors as
before for the definitely indistinguishable cases; continue to emit
portability warnings for the indeterminate cases.
When this patch is merged, all but one of the dozen or so tests that I
disabled in llvm-test-suite can be re-enabled.
Diffstat (limited to 'llvm/lib/TextAPI/Symbol.cpp')
0 files changed, 0 insertions, 0 deletions