File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,25 @@ struct DemangledNameInfo {
7373 bool hasBasename () const {
7474 return BasenameRange.second > BasenameRange.first ;
7575 }
76+
77+ // / Returns \c true if this object holds a valid scope range.
78+ bool hasScope () const { return ScopeRange.second > ScopeRange.first ; }
79+
80+ // / Returns \c true if this object holds a valid arguments range.
81+ bool hasArguments () const {
82+ return ArgumentsRange.second > ArgumentsRange.first ;
83+ }
84+
85+ // / Returns \c true if this object holds a valid qualifiers range.
86+ bool hasQualifiers () const {
87+ return QualifiersRange.second > QualifiersRange.first ;
88+ }
89+
90+ // / Returns \c true if this object holds a valid prefix range.
91+ bool hasPrefix () const { return PrefixRange.second > PrefixRange.first ; }
92+
93+ // / Returns \c true if this object holds a valid suffix range.
94+ bool hasSuffix () const { return SuffixRange.second > SuffixRange.first ; }
7695};
7796
7897// / An OutputBuffer which keeps a record of where certain parts of a
You can’t perform that action at this time.
0 commit comments