Searched refs:StrLit (Results 1 – 4 of 4) sorted by relevance
1081 if (auto *StrLit = dyn_cast<StringLiteral>(Init)) { in getCStringLength() local1084 return SvalBuilder.makeIntVal(StrLit->getLength(), SizeTy); in getCStringLength()
935 if (auto *StrLit = dyn_cast<ObjCStringLiteral>(Key)) { in CheckObjCDictionaryLiteralDuplicateKeys() local936 StringRef Bytes = StrLit->getString()->getBytes(); in CheckObjCDictionaryLiteralDuplicateKeys()937 SourceLocation Loc = StrLit->getExprLoc(); in CheckObjCDictionaryLiteralDuplicateKeys()
361 if (const auto *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs() local362 if (StrLit->getLength() == 0 || in checkAttrArgsAreCapabilityObjs()363 (StrLit->isOrdinary() && StrLit->getString() == "*")) { in checkAttrArgsAreCapabilityObjs()
4107 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens())) in IsStringLiteralToNonConstPointerConversion() local4114 switch (StrLit->getKind()) { in IsStringLiteralToNonConstPointerConversion()