vitalybuka wrote: > > Would be simple just normalize patters on load? Same for queries? > > I don't know what the implications of this are, but it seems much simpler at > this point so we can try that instead. > > I don't know what a query is in this context.
It's query parameter `SpecialCaseList::Matcher::match(StringRef Query)` But it needs to be normalized on higher levels, when we know this is path. Annoying part is that to normalize globs you need to '\' -> '/'. But to do that you needs some glob parsing to distinguish escape sequence \ and real \ . And then I don't know which one will be better. NOTE: There is very simple option, no sure how acceptable. 1. Special list always exact / (for windows and posix) 2. 'query' on windows replace \ to / in file name. This one must be easy to do. https://github.com/llvm/llvm-project/pull/149886 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
