Lines Matching defs:pat

1095     Expected<GlobPattern> pat = GlobPattern::create(knownSafeName);
1096 if (!pat)
1097 ErrAlways(ctx) << "--lto-known-safe-vtables=: " << pat.takeError();
1099 [&](StringRef s) { return pat->match(s); });
1224 else if (Expected<GlobPattern> pat = GlobPattern::create(fields[0]))
1225 ctx.arg.remapInputsWildcards.emplace_back(std::move(*pat), fields[1]);
1227 ErrAlways(ctx) << location << ": " << pat.takeError() << ": " << fields[0];
1554 else if (Expected<GlobPattern> pat = GlobPattern::create(kv.first))
1555 ctx.arg.shuffleSections.emplace_back(std::move(*pat), uint32_t(v));
1557 ErrAlways(ctx) << errPrefix << pat.takeError() << ": " << kv.first;
1598 if (Expected<GlobPattern> pat = GlobPattern::create(fields[0])) {
1599 ctx.arg.compressSections.emplace_back(std::move(*pat), type, level);
1601 ErrAlways(ctx) << arg->getSpelling() << ": " << pat.takeError();
1623 else if (Expected<GlobPattern> pat = GlobPattern::create(kv.first))
1624 ctx.arg.deadRelocInNonAlloc.emplace_back(std::move(*pat), v);
1626 ErrAlways(ctx) << errPrefix << pat.takeError() << ": " << kv.first;
1780 if (Expected<GlobPattern> pat = GlobPattern::create(pattern))
1781 ctx.arg.warnBackrefsExclude.push_back(std::move(*pat));
1783 ErrAlways(ctx) << arg->getSpelling() << ": " << pat.takeError() << ": "
2192 Expected<GlobPattern> pat = GlobPattern::create(arg);
2193 if (!pat) {
2194 ErrAlways(ctx) << "--undefined-glob: " << pat.takeError() << ": " << arg;
2202 if (!sym->isPlaceholder() && pat->match(sym->getName()))
2275 for (const llvm::GlobPattern &pat : ctx.arg.warnBackrefsExclude)
2276 if (pat.match(to)) {
2914 for (StringRef pat : args::getStrings(args, OPT_undefined_glob))
2915 handleUndefinedGlob(ctx, pat);