[PATCH] D27188: Use trigrams to speed up SpecialCaseList.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 30 17:04:41 PST 2016


pcc added a comment.

Maybe I'm not making myself clear. This test doesn't pass on my machine.

  TEST_F(TrigramIndexTest, foo) {
    std::unique_ptr<TrigramIndex> TI = makeTrigramIndex(
        {"class1.h", "class2.h", "class3.h", "class4.h", "class.h"});
    EXPECT_FALSE(TI->isDefeated());
  }


https://reviews.llvm.org/D27188





More information about the llvm-commits mailing list