class TrigramIndex
Declaration
class TrigramIndex { /* full declaration omitted */ };
Declared at: llvm/include/llvm/Support/TrigramIndex.h:39
Method Overview
- public void insert(std::string Regex)
- public bool isDefeated()
- public bool isDefinitelyOut(llvm::StringRef Query) const
Methods
¶void insert(std::string Regex)
void insert(std::string Regex)
Description
Inserts a new Regex into the index.
Declared at: llvm/include/llvm/Support/TrigramIndex.h:42
Parameters
- std::string Regex
¶bool isDefeated()
bool isDefeated()
Description
Returned true, iff the heuristic is defeated and not useful. In this case isDefinitelyOut always returns false.
Declared at: llvm/include/llvm/Support/TrigramIndex.h:50
¶bool isDefinitelyOut(llvm::StringRef Query) const
bool isDefinitelyOut(llvm::StringRef Query) const
Description
Returns true, if special case list definitely does not have a line that matches the query. Returns false, if it's not sure.
Declared at: llvm/include/llvm/Support/TrigramIndex.h:46
Parameters
- llvm::StringRef Query