[flang-commits] [flang] [flang] Avoid crash in name resolution on erroneous type extension (PR #109312)
via flang-commits
flang-commits at lists.llvm.org
Thu Sep 19 10:59:58 PDT 2024
================
@@ -1204,7 +1204,7 @@ class DeclarationVisitor : public ArraySpecVisitor,
const parser::Name &, const parser::Name *);
Symbol *MakeTypeSymbol(const SourceName &, Details &&);
Symbol *MakeTypeSymbol(const parser::Name &, Details &&);
- bool OkToAddComponent(const parser::Name &, const Symbol * = nullptr);
+ bool OkToAddComponent(const parser::Name &, const Symbol *extends = nullptr);
----------------
vdonaldson wrote:
Is this update intentional? I don't see it being used.
https://github.com/llvm/llvm-project/pull/109312
More information about the flang-commits
mailing list