Searched refs:isAscii (Results 1 – 12 of 12) sorted by relevance
177 bool isAscii() const { return Kind == tok::char_constant; } in isAscii() function242 bool isAscii() const { return Kind == tok::string_literal; } in isAscii() function
1114 bool NoErrorOnBadEncoding = isAscii(); in CharLiteralParser()1166 else if (isAscii() && NumCharsSoFar == 4) in CharLiteralParser()1168 else if (isAscii()) in CharLiteralParser()1182 if (isAscii() && isMultiChar()) { in CharLiteralParser()1206 if (isAscii() && NumCharsSoFar == 1 && (Value & 128) && in CharLiteralParser()1311 if (isAscii()) { in init()1581 bool NoErrorOnBadEncoding = isAscii(); in CopyStringFragment()
843 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
1181 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()1317 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()
52 if (!S->isAscii()) { in ParseObjCStringLiteral()450 if (String->isAscii()) { in CheckObjCCollectionLiteralElement()
92 if (!Literal || !Literal->isAscii()) { in SemaBuiltinAnnotation()3089 if (!Literal || !Literal->isAscii()) { in CheckObjCString()5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
336 if (!Literal || !Literal->isAscii()) { in checkStringLiteralArgumentAttr()537 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
12127 if (!Lit->isAscii()) { in ActOnStartLinkageSpecification()
12362 if (!SL || !SL->isAscii()) in ConversionToObjCStringLiteralCheck()
1328 if (!SL->isAscii()) { in ParseAsmStringLiteral()
1557 bool isAscii() const { return Kind == Ascii; } in isAscii() function