File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,6 @@ class BinaryData {
107
107
std::vector<MCSymbol *> &getSymbols () { return Symbols; }
108
108
109
109
bool hasName (StringRef Name) const ;
110
- bool hasNameRegex (StringRef Name) const ;
111
110
bool nameStartsWith (StringRef Prefix) const ;
112
111
113
112
bool hasSymbol (const MCSymbol *Symbol) const {
Original file line number Diff line number Diff line change @@ -55,14 +55,6 @@ bool BinaryData::hasName(StringRef Name) const {
55
55
return false ;
56
56
}
57
57
58
- bool BinaryData::hasNameRegex (StringRef NameRegex) const {
59
- Regex MatchName (NameRegex);
60
- for (const MCSymbol *Symbol : Symbols)
61
- if (MatchName.match (Symbol->getName ()))
62
- return true ;
63
- return false ;
64
- }
65
-
66
58
bool BinaryData::nameStartsWith (StringRef Prefix) const {
67
59
for (const MCSymbol *Symbol : Symbols)
68
60
if (Symbol->getName ().starts_with (Prefix))
You can’t perform that action at this time.
0 commit comments