LLVM
8.0.1
|
#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 40 of file TrigramIndex.h.
void TrigramIndex::insert | ( | std::string | Regex | ) |
Inserts a new Regex into the index.
Definition at line 33 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 51 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 90 of file TrigramIndex.cpp.
References I, and llvm::StringRef::size().
Referenced by llvm::SpecialCaseList::Matcher::match().