reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
46 bool isDefinitelyOut(StringRef Query) const;
64 if (Trigrams.isDefinitelyOut(Query))
unittests/Support/TrigramIndexTest.cpp36 EXPECT_TRUE(TI->isDefinitelyOut("foo")); 43 EXPECT_TRUE(TI->isDefinitelyOut("foo")); 50 EXPECT_FALSE(TI->isDefinitelyOut("foo")); 51 EXPECT_FALSE(TI->isDefinitelyOut("bar")); 52 EXPECT_FALSE(TI->isDefinitelyOut("zakaz")); 59 EXPECT_FALSE(TI->isDefinitelyOut("foo")); 66 EXPECT_TRUE(TI->isDefinitelyOut("foo")); 67 EXPECT_TRUE(TI->isDefinitelyOut("bar")); 68 EXPECT_FALSE(TI->isDefinitelyOut("barbara")); 69 EXPECT_FALSE(TI->isDefinitelyOut("bar+bar")); 100 EXPECT_FALSE(TI->isDefinitelyOut("c++")); 101 EXPECT_TRUE(TI->isDefinitelyOut("c\\+\\+")); 102 EXPECT_FALSE(TI->isDefinitelyOut("hello\\world")); 103 EXPECT_TRUE(TI->isDefinitelyOut("hello\\\\world")); 104 EXPECT_FALSE(TI->isDefinitelyOut("atb")); 105 EXPECT_TRUE(TI->isDefinitelyOut("a\\tb")); 106 EXPECT_TRUE(TI->isDefinitelyOut("a\tb")); 107 EXPECT_FALSE(TI->isDefinitelyOut("a0b")); 126 EXPECT_FALSE(TI->isDefinitelyOut("class1")); 127 EXPECT_TRUE(TI->isDefinitelyOut("class.h")); 128 EXPECT_TRUE(TI->isDefinitelyOut("class"));