Home
last modified time | relevance | path

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

/external/clang/include/clang/Lex/
DLiteralSupport.h167 bool isAscii() const { return Kind == tok::char_constant; } in isAscii() function
231 bool isAscii() const { return Kind == tok::string_literal; } in isAscii() function
/external/clang/lib/Lex/
DLiteralSupport.cpp1100 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()
DPreprocessor.cpp840 assert(Literal.isAscii() && "Didn't allow wide strings in"); in FinishLexStringLiteral()
DPPDirectives.cpp1038 assert(Literal.isAscii() && "Didn't allow wide strings in"); in HandleLineDirective()
1174 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.cpp55 if (!S->isAscii()) { in ParseObjCStringLiteral()
452 if (String->isAscii()) { in CheckObjCCollectionLiteralElement()
DSemaChecking.cpp89 if (!Literal || !Literal->isAscii()) { in SemaBuiltinAnnotation()
2364 if (!Literal || !Literal->isAscii()) { in CheckObjCString()
4668 if (!FExpr->isAscii() && !FExpr->isUTF8()) { in CheckFormatString()
DSemaDeclAttr.cpp332 if (!Literal || !Literal->isAscii()) { in checkStringLiteralArgumentAttr()
514 (StrLit->isAscii() && StrLit->getString() == StringRef("*"))) { in checkAttrArgsAreCapabilityObjs()
DSemaDeclCXX.cpp11891 if (!Lit->isAscii()) { in ActOnStartLinkageSpecification()
DSemaExpr.cpp11823 if (!SL || !SL->isAscii()) in ConversionToObjCStringLiteralCheck()
/external/clang/lib/Parse/
DParser.cpp1302 if (!SL->isAscii()) { in ParseAsmStringLiteral()
/external/clang/include/clang/AST/
DExpr.h1599 bool isAscii() const { return Kind == Ascii; } in isAscii() function