Searched refs:StringType (Results 1 – 4 of 4) sorted by relevance
884 template <typename StringType>885 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {892 const typename StringType::value_type nul = 0;896 if (i1 == StringType::npos || i2 == StringType::npos) {907 template <typename StringType>910 StrEqualityMatcher(StringType str, bool expect_eq, bool case_sensitive)920 const StringType& str = std::string(s);935 return MatchAndExplain(StringType(s), listener);945 const StringType s2(s);969 const StringType string_;[all …]
771 template <typename StringType>772 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
1854 template <typename StringType>1855 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()1856 return haystack.find(needle) != StringType::npos; in IsSubstringPred()1863 template <typename StringType>1867 const StringType& needle, in IsSubstringImpl()1868 const StringType& haystack) { in IsSubstringImpl()
10797 const QualType StringType = StringRefExpr->getType(); in diagnoseStringPlusChar() local10800 if (!StringType->isAnyPointerType()) in diagnoseStringPlusChar()10804 if (!StringType->getPointeeType()->isAnyCharacterType()) in diagnoseStringPlusChar()