Home
last modified time | relevance | path

Searched refs:CharacterLiteral (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp453 const CharacterLiteral *CharLit1 = cast<CharacterLiteral>(Stmt1); in isIdenticalStmt()
454 const CharacterLiteral *CharLit2 = cast<CharacterLiteral>(Stmt2); in isIdenticalStmt()
DRetainCountChecker.cpp1874 isa<CharacterLiteral>(E) || in isNumericLiteralExpression()
/external/clang/lib/Sema/
DSemaExprObjC.cpp317 if (CharacterLiteral *Char = dyn_cast<CharacterLiteral>(Number)) { in BuildObjCNumericLiteral()
321 case CharacterLiteral::Ascii: in BuildObjCNumericLiteral()
322 case CharacterLiteral::UTF8: in BuildObjCNumericLiteral()
326 case CharacterLiteral::Wide: in BuildObjCNumericLiteral()
330 case CharacterLiteral::UTF16: in BuildObjCNumericLiteral()
334 case CharacterLiteral::UTF32: in BuildObjCNumericLiteral()
425 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
430 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()
575 if (const CharacterLiteral *Char = in BuildObjCBoxedExpr()
576 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr()
[all …]
DSemaTemplate.cpp5549 CharacterLiteral::CharacterKind Kind; in BuildExpressionFromIntegralTemplateArgument()
5551 Kind = CharacterLiteral::Wide; in BuildExpressionFromIntegralTemplateArgument()
5553 Kind = CharacterLiteral::UTF16; in BuildExpressionFromIntegralTemplateArgument()
5555 Kind = CharacterLiteral::UTF32; in BuildExpressionFromIntegralTemplateArgument()
5557 Kind = CharacterLiteral::Ascii; in BuildExpressionFromIntegralTemplateArgument()
5559 E = new (Context) CharacterLiteral(Arg.getAsIntegral().getZExtValue(), in BuildExpressionFromIntegralTemplateArgument()
DSemaExpr.cpp3146 CharacterLiteral::CharacterKind Kind = CharacterLiteral::Ascii; in ActOnCharacterConstant()
3148 Kind = CharacterLiteral::Wide; in ActOnCharacterConstant()
3150 Kind = CharacterLiteral::UTF16; in ActOnCharacterConstant()
3152 Kind = CharacterLiteral::UTF32; in ActOnCharacterConstant()
3154 Kind = CharacterLiteral::UTF8; in ActOnCharacterConstant()
3156 Expr *Lit = new (Context) CharacterLiteral(Literal.getValue(), Kind, Ty, in ActOnCharacterConstant()
8292 const CharacterLiteral *CharExpr = in diagnoseStringPlusChar()
8293 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
8296 CharExpr = dyn_cast<CharacterLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
8328 if (isa<CharacterLiteral>(RHSExpr->IgnoreImpCasts())) { in diagnoseStringPlusChar()
DSemaStmt.cpp1343 void VisitCharacterLiteral(CharacterLiteral *E) { } in VisitCharacterLiteral()
/external/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp645 const CharacterLiteral *Arg, in rewriteToCharLiteral()
647 if (Arg->getKind() != CharacterLiteral::Ascii) in rewriteToCharLiteral()
760 if (const CharacterLiteral *CharE = dyn_cast<CharacterLiteral>(Arg)) in rewriteToNumberLiteral()
/external/clang/lib/AST/
DStmtPrinter.cpp1274 void StmtPrinter::VisitCharacterLiteral(CharacterLiteral *Node) { in VisitCharacterLiteral()
1278 case CharacterLiteral::Ascii: break; // no prefix. in VisitCharacterLiteral()
1279 case CharacterLiteral::Wide: OS << 'L'; break; in VisitCharacterLiteral()
1280 case CharacterLiteral::UTF8: OS << "u8"; break; in VisitCharacterLiteral()
1281 case CharacterLiteral::UTF16: OS << 'u'; break; in VisitCharacterLiteral()
1282 case CharacterLiteral::UTF32: OS << 'U'; break; in VisitCharacterLiteral()
1323 if ((value & ~0xFFu) == ~0xFFu && Node->getKind() == CharacterLiteral::Ascii) in VisitCharacterLiteral()
DASTDumper.cpp513 void VisitCharacterLiteral(const CharacterLiteral *Node);
1967 void ASTDumper::VisitCharacterLiteral(const CharacterLiteral *Node) { in VisitCharacterLiteral()
DStmtProfile.cpp754 void StmtProfiler::VisitCharacterLiteral(const CharacterLiteral *S) { in VisitCharacterLiteral()
DASTImporter.cpp231 Expr *VisitCharacterLiteral(CharacterLiteral *E);
5499 Expr *ASTNodeImporter::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()
5504 return new (Importer.getToContext()) CharacterLiteral(E->getValue(), in VisitCharacterLiteral()
DItaniumMangle.cpp3800 Out << cast<CharacterLiteral>(E)->getValue(); in mangleExpression()
/external/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp272 const CharacterLiteral *C = cast<CharacterLiteral>(E); in getConstantVal()
/external/clang/include/clang/Basic/
DStmtNodes.td63 def CharacterLiteral : DStmt<Expr>;
/external/v8/tools/gcmole/
Dgcmole.cc574 VISIT(CharacterLiteral); in VisitExpr()
635 IGNORE_EXPR(CharacterLiteral);
/external/clang/lib/Analysis/
DReachableCode.cpp45 isa<CharacterLiteral>(Ex) || in isTrivialExpression()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp1054 if (const CharacterLiteral *CL = dyn_cast<CharacterLiteral>(E)) in isSimpleZero()
DCGExprScalar.cpp231 Value *VisitCharacterLiteral(const CharacterLiteral *E) { in VisitCharacterLiteral()
/external/clang/include/clang/AST/
DExpr.h1304 class CharacterLiteral : public Expr {
1319 CharacterLiteral(unsigned value, CharacterKind kind, QualType type, in CharacterLiteral() function
1328 CharacterLiteral(EmptyShell Empty) : Expr(CharacterLiteralClass, Empty) { } in CharacterLiteral() function
DStmt.h138 friend class CharacterLiteral; in LLVM_ALIGNAS() local
DRecursiveASTVisitor.h2435 DEF_TRAVERSE_STMT(CharacterLiteral, {})
/external/clang/lib/Serialization/
DASTReaderStmt.cpp523 void ASTStmtReader::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()
527 E->setKind(static_cast<CharacterLiteral::CharacterKind>(Record[Idx++])); in VisitCharacterLiteral()
2970 S = new (Context) CharacterLiteral(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp454 void ASTStmtWriter::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1393 static_assert(std::is_base_of<CharacterLiteral, T>::value ||
DASTMatchers.h1674 CharacterLiteral> characterLiteral;

12