aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorjeanPerier <jperier@nvidia.com>2023-09-28 18:00:34 +0200
committerGitHub <noreply@github.com>2023-09-28 18:00:34 +0200
commitd4fd0a792f602d32261ce85d55a7d8f295ee42a8 (patch)
tree8fac7ad066b2fd8df4078682276770e99b15440c /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parentd6ae4bd686714d34969012fa273140e547606d81 (diff)
downloadllvm-d4fd0a792f602d32261ce85d55a7d8f295ee42a8.zip
llvm-d4fd0a792f602d32261ce85d55a7d8f295ee42a8.tar.gz
llvm-d4fd0a792f602d32261ce85d55a7d8f295ee42a8.tar.bz2
[flang] Fix symbol on module subroutine name with same name as generic (#67678)
When a MODULE SUBROUTINE or MODULE FUNCTION is implemented in the same scope as its interface and appears in a generic with the same name, the parse::Name of the implementation was not correctly reset and remained the SubprogramNameDetails symbol after semantics, causing a crash in lowering that picks up the procedure symbols on the parser names. Reset the parser::Name symbol before the new symbol is created.
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions