Searched refs:StrRef (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 3426 StringRef StrRef; in CheckCallingConvAttr() local 3427 if (!checkStringLiteralArgumentAttr(attr, 0, StrRef)) { in CheckCallingConvAttr() 3431 if (StrRef == "aapcs") { in CheckCallingConvAttr() 3434 } else if (StrRef == "aapcs-vfp") { in CheckCallingConvAttr() 3942 StringRef StrRef; in handleUuidAttr() local 3944 if (!S.checkStringLiteralArgumentAttr(Attr, 0, StrRef, &LiteralLoc)) in handleUuidAttr() 3949 if (StrRef.size() == 38 && StrRef.front() == '{' && StrRef.back() == '}') in handleUuidAttr() 3950 StrRef = StrRef.drop_front().drop_back(); in handleUuidAttr() 3953 if (StrRef.size() != 36) { in handleUuidAttr() 3960 if (StrRef[i] != '-') { in handleUuidAttr() [all …]
|
D | SemaChecking.cpp | 4202 StringRef StrRef = FExpr->getString(); in CheckFormatString() local 4203 const char *Str = StrRef.data(); in CheckFormatString() 4208 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in CheckFormatString() 4213 if (TypeSize <= StrRef.size() && in CheckFormatString() 4214 StrRef.substr(0, TypeSize).find('\0') == StringRef::npos) { in CheckFormatString() 4258 StringRef StrRef = FExpr->getString(); in FormatStringHasSArg() local 4259 const char *Str = StrRef.data(); in FormatStringHasSArg() 4264 size_t StrLen = std::min(std::max(TypeSize, size_t(1)) - 1, StrRef.size()); in FormatStringHasSArg()
|