[PATCH] D27318: Support escaping in TrigramIndex.

Ivan Krasin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 12:50:20 PST 2016


krasin created this revision.
krasin added a reviewer: pcc.
krasin added a subscriber: llvm-commits.

This is a follow up to r288303, where I have introduced TrigramIndex
to speed up SpecialCaseList for the cases when all rules are
simple wildcards, like *hello*wor.d*.

Here, I add support for escaping, so that it's possible to
specify rules like *c\+\+abi*.


https://reviews.llvm.org/D27318

Files:
  lib/Support/TrigramIndex.cpp
  unittests/Support/SpecialCaseListTest.cpp
  unittests/Support/TrigramIndexTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27318.79973.patch
Type: text/x-patch
Size: 3790 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161201/d49f5a0c/attachment.bin>


More information about the llvm-commits mailing list