Lines Matching refs:Literal
93 /// annotation is a non wide string literal.
96 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
97 if (!Literal || !Literal->isAscii()) {
864 StringLiteral *Literal = dyn_cast<StringLiteral>(Arg);
866 if (!Literal || !Literal->isAscii()) {
872 if (Literal->containsNonAsciiOrNull()) {
873 StringRef String = Literal->getString();
1399 // CHECK: format string is not a string literal.
1413 return; // Literal format string found, check done!
1824 // in a non-ObjC literal.
2069 // CHECK: is the format string a wide literal?
3374 /// Diagnose an implicit cast from a literal expression. Does not warn when the
3378 // Try to convert the literal exactly to an integer. If we can, don't warn.
3426 // Warn on string literal to bool. Checks for string literals in logical