Searched refs:isAscii (Results 1 – 12 of 12) sorted by relevance
167 bool isAscii() const { return Kind == tok::char_constant; } in isAscii() function231 bool isAscii() const { return Kind == tok::string_literal; } in isAscii() function
1100 bool NoErrorOnBadEncoding = isAscii(); in CharLiteralParser()1152 else if (isAscii() && NumCharsSoFar == 4) in CharLiteralParser()1154 else if (isAscii()) in CharLiteralParser()1168 if (isAscii() && isMultiChar()) { in CharLiteralParser()1192 if (isAscii() && NumCharsSoFar == 1 && (Value & 128) && in CharLiteralParser()1297 if (isAscii()) { in init()1567 bool NoErrorOnBadEncoding = isAscii(); in CopyStringFragment()
840 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
1038 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()1174 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleDigitDirective()
156 assert(AsmString->isAscii()); in ActOnGCCAsmStmt()169 assert(Literal->isAscii()); in ActOnGCCAsmStmt()248 assert(Literal->isAscii()); in ActOnGCCAsmStmt()338 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
55 if (!S->isAscii()) { in ParseObjCStringLiteral()452 if (String->isAscii()) { in CheckObjCCollectionLiteralElement()
89 if (!Literal || !Literal->isAscii()) { in SemaBuiltinAnnotation()2364 if (!Literal || !Literal->isAscii()) { in CheckObjCString()4668 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
332 if (!Literal || !Literal->isAscii()) { in checkStringLiteralArgumentAttr()514 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
11891 if (!Lit->isAscii()) { in ActOnStartLinkageSpecification()
11823 if (!SL || !SL->isAscii()) in ConversionToObjCStringLiteralCheck()
1302 if (!SL->isAscii()) { in ParseAsmStringLiteral()
1599 bool isAscii() const { return Kind == Ascii; } in isAscii() function