Searched refs:StringType (Results 1 – 4 of 4) sorted by relevance
872 template <typename StringType>873 bool CaseInsensitiveStringEquals(const StringType& s1, const StringType& s2) {884 if (i1 == StringType::npos || i2 == StringType::npos) {895 template <typename StringType>933 const StringType s2(s);957 const StringType string_;998 return StringType(s).find(substring_) != StringType::npos;1051 const StringType& s2(s);1067 const StringType prefix_;1105 const StringType& s2(s);[all …]
756 template <typename StringType>757 AssertionResult HasPrefix(const StringType& str, const StringType& prefix) { in HasPrefix()
1801 template <typename StringType>1802 bool IsSubstringPred(const StringType& needle, const StringType& haystack) { in IsSubstringPred()1803 return haystack.find(needle) != StringType::npos; in IsSubstringPred()1810 template <typename StringType>1814 const StringType& needle, in IsSubstringImpl()1815 const StringType& haystack) { in IsSubstringImpl()
11795 const QualType StringType = StringRefExpr->getType(); in diagnoseStringPlusChar() local11798 if (!StringType->isAnyPointerType()) in diagnoseStringPlusChar()11802 if (!StringType->getPointeeType()->isAnyCharacterType()) in diagnoseStringPlusChar()