[flang-commits] [flang] [flang] Avoid crash in name resolution on erroneous type extension (PR #109312)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Thu Sep 19 11:17:21 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);
----------------
klausler wrote:
Yes, I added an argument name for documentation purposes.
https://github.com/llvm/llvm-project/pull/109312
More information about the flang-commits
mailing list