|
LLVM
10.0.0
|
#include "llvm/Support/TrigramIndex.h"
Public Member Functions | |
| void | insert (std::string Regex) |
| Inserts a new Regex into the index. More... | |
| bool | isDefinitelyOut (StringRef Query) const |
| Returns true, if special case list definitely does not have a line that matches the query. More... | |
| bool | isDefeated () |
| Returned true, iff the heuristic is defeated and not useful. More... | |
Definition at line 39 of file TrigramIndex.h.
| void TrigramIndex::insert | ( | std::string | Regex | ) |
Inserts a new Regex into the index.
Definition at line 32 of file TrigramIndex.cpp.
References isAdvancedMetachar(), and llvm::size().
Referenced by llvm::SpecialCaseList::Matcher::insert().
|
inline |
Returned true, iff the heuristic is defeated and not useful.
In this case isDefinitelyOut always returns false.
Definition at line 50 of file TrigramIndex.h.
Returns true, if special case list definitely does not have a line that matches the query.
Returns false, if it's not sure.
Definition at line 89 of file TrigramIndex.cpp.
References I, and llvm::StringRef::size().
Referenced by llvm::SpecialCaseList::Matcher::match().
1.8.13