D | Trigram.h | 37 class Trigram { 41 Trigram(Sentinel S) : Data{0, 0, 0, static_cast<char>(S)} {} in Trigram() function 45 Trigram() : Data{0, 0, 0, 0} {} in Trigram() function 46 Trigram(char A) : Data{A, 0, 0, 1} {} in Trigram() function 47 Trigram(char A, char B) : Data{A, B, 0, 2} {} in Trigram() function 48 Trigram(char A, char B, char C) : Data{A, B, C, 3} {} in Trigram() function 50 friend struct ::llvm::DenseMapInfo<Trigram>; 51 friend bool operator==(Trigram L, Trigram R) { return L.id() == R.id(); } 52 friend bool operator<(Trigram L, Trigram R) { return L.id() < R.id(); } 72 std::vector<Trigram> &Out); [all …]
|