Searched refs:NameOrPattern (Results 1 – 2 of 2) sorted by relevance
100 class NameOrPattern {107 NameOrPattern(StringRef N) : Name(N) {} in NameOrPattern() function108 NameOrPattern(std::shared_ptr<Regex> R) : R(R) {} in NameOrPattern() function109 NameOrPattern(std::shared_ptr<GlobPattern> G, bool IsPositiveMatch) in NameOrPattern() function115 static Expected<NameOrPattern>129 std::vector<NameOrPattern> PosMatchers;130 std::vector<NameOrPattern> NegMatchers;133 Error addMatcher(Expected<NameOrPattern> Matcher) { in addMatcher()
356 if (Error E = Symbols.addMatcher(NameOrPattern::create( in addSymbolsFromFile()364 Expected<NameOrPattern>365 NameOrPattern::create(StringRef Pattern, MatchStyle MS, in create()369 return NameOrPattern(Pattern); in create()387 return NameOrPattern(std::make_shared<GlobPattern>(*GlobOrErr), in create()392 return NameOrPattern(std::make_shared<Regex>( in create()687 if (Error E = Config.ToRemove.addMatcher(NameOrPattern::create( in parseObjcopyOptions()691 if (Error E = Config.KeepSection.addMatcher(NameOrPattern::create( in parseObjcopyOptions()695 if (Error E = Config.OnlySection.addMatcher(NameOrPattern::create( in parseObjcopyOptions()737 if (Error E = Config.SymbolsToLocalize.addMatcher(NameOrPattern::create( in parseObjcopyOptions()[all …]