Home
last modified time | relevance | path

Searched refs:isAscii (Results 1 – 12 of 12) sorted by relevance

/external/clang/include/clang/Lex/
DLiteralSupport.h177 bool isAscii() const { return Kind == tok::char_constant; } in isAscii() function
242 bool isAscii() const { return Kind == tok::string_literal; } in isAscii() function
/external/clang/lib/Lex/
DLiteralSupport.cpp1114 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()
DPreprocessor.cpp843 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
DPPDirectives.cpp1181 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()
1317 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleDigitDirective()
/external/clang/lib/Sema/
DSemaStmtAsm.cpp156 assert(AsmString->isAscii()); in ActOnGCCAsmStmt()
169 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
248 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
338 assert(Literal->isAscii()); in ActOnGCCAsmStmt()
DSemaExprObjC.cpp52 if (!S->isAscii()) { in ParseObjCStringLiteral()
450 if (String->isAscii()) { in CheckObjCCollectionLiteralElement()
DSemaChecking.cpp92 if (!Literal || !Literal->isAscii()) { in SemaBuiltinAnnotation()
3089 if (!Literal || !Literal->isAscii()) { in CheckObjCString()
5553 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
DSemaDeclAttr.cpp336 if (!Literal || !Literal->isAscii()) { in checkStringLiteralArgumentAttr()
537 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
DSemaDeclCXX.cpp12127 if (!Lit->isAscii()) { in ActOnStartLinkageSpecification()
DSemaExpr.cpp12362 if (!SL || !SL->isAscii()) in ConversionToObjCStringLiteralCheck()
/external/clang/lib/Parse/
DParser.cpp1328 if (!SL->isAscii()) { in ParseAsmStringLiteral()
/external/clang/include/clang/AST/
DExpr.h1557 bool isAscii() const { return Kind == Ascii; } in isAscii() function