aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorPeter Klausler <35819229+klausler@users.noreply.github.com>2024-07-30 09:42:15 -0700
committerGitHub <noreply@github.com>2024-07-30 09:42:15 -0700
commit539a6b500c9c7a808e68db32bf7965985202197f (patch)
tree7299d8be96450e27048ae7cd703a9566894ca411 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent33c27f28d1cd05fd0a739498105927c1fba04666 (diff)
downloadllvm-539a6b500c9c7a808e68db32bf7965985202197f.zip
llvm-539a6b500c9c7a808e68db32bf7965985202197f.tar.gz
llvm-539a6b500c9c7a808e68db32bf7965985202197f.tar.bz2
[flang] Detect use-before-decl errors on type parameters (#99947)
Ensure that type parameters are declared as such before being referenced within the derived type definition. (Previously, such references would resolve to symbols in the enclosing scope.) This change causes the symbols for the type parameters to be created when the TYPE statement is processed in name resolution. They are TypeParamDetails symbols with no KIND/LEN attribute set, and they shadow any symbols of the same name in the enclosing scope. When the type parameter declarations are processed, the KIND/LEN attributes are set. Any earlier reference to a type parameter with no KIND/LEN attribute elicits an error. Some members of TypeParamDetails have been retyped &/or renamed.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions