Searched refs:StrRef (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 3874 StringRef StrRef; in CheckCallingConvAttr() local 3875 if (!checkStringLiteralArgumentAttr(attr, 0, StrRef)) { in CheckCallingConvAttr() 3879 if (StrRef == "aapcs") { in CheckCallingConvAttr() 3882 } else if (StrRef == "aapcs-vfp") { in CheckCallingConvAttr() 4619 StringRef StrRef; in handleUuidAttr() local 4621 if (!S.checkStringLiteralArgumentAttr(Attr, 0, StrRef, &LiteralLoc)) in handleUuidAttr() 4626 if (StrRef.size() == 38 && StrRef.front() == '{' && StrRef.back() == '}') in handleUuidAttr() 4627 StrRef = StrRef.drop_front().drop_back(); in handleUuidAttr() 4630 if (StrRef.size() != 36) { in handleUuidAttr() 4637 if (StrRef[i] != '-') { in handleUuidAttr() [all …]
|
D | SemaChecking.cpp | 5562 StringRef StrRef = FExpr->getString(); in CheckFormatString() local 5563 const char *Str = StrRef.data(); in CheckFormatString() 5569 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() 5574 if (TypeSize <= StrRef.size() && in CheckFormatString() 5575 StrRef.substr(0, TypeSize).find('\0') == StringRef::npos) { in CheckFormatString() 5622 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg() local 5623 const char *Str = StrRef.data(); in FormatStringHasSArg() 5628 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg()
|