We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c97738c commit ec5aa04Copy full SHA for ec5aa04
flang/include/flang/Semantics/symbol.h
@@ -836,15 +836,13 @@ class Symbol {
836
using Flags = common::EnumSet<Flag, Flag_enumSize>;
837
838
const Scope &owner() const { return *owner_; }
839
-
840
const SourceName &name() const {
841
if (const auto *details = detailsIf<MainProgramDetails>()) {
842
// For main program symbol always return the original name
843
return details->name();
844
}
845
return name_;
846
847
848
Attrs &attrs() { return attrs_; }
849
const Attrs &attrs() const { return attrs_; }
850
Attrs &implicitAttrs() { return implicitAttrs_; }
0 commit comments