Searched refs:StringType (Results 1 – 4 of 4) sorted by relevance
872 template <typename StringType>873 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {880 const typename StringType::value_type nul = 0;884 if (i1 == StringType::npos || i2 == StringType::npos) {895 template <typename StringType>898 StrEqualityMatcher(StringType str, bool expect_eq, bool case_sensitive)908 const StringType& str = std::string(s);923 return MatchAndExplain(StringType(s), listener);933 const StringType s2(s);957 const StringType string_;[all …]
761 template <typename StringType>762 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
1827 template <typename StringType>1828 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()1829 return haystack.find(needle) != StringType::npos; in IsSubstringPred()1836 template <typename StringType>1840 const StringType& needle, in IsSubstringImpl()1841 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()