Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp455 const CharacterLiteral *CharLit1 = cast<CharacterLiteral>(Stmt1); in isIdenticalStmt()
456 const CharacterLiteral *CharLit2 = cast<CharacterLiteral>(Stmt2); in isIdenticalStmt()
DRetainCountChecker.cpp1873 isa<CharacterLiteral>(E) || in isNumericLiteralExpression()
/external/clang/lib/Sema/
DSemaExprObjC.cpp320 if (CharacterLiteral *Char = dyn_cast<CharacterLiteral>(Number)) { in BuildObjCNumericLiteral()
324 case CharacterLiteral::Ascii: in BuildObjCNumericLiteral()
328 case CharacterLiteral::Wide: in BuildObjCNumericLiteral()
332 case CharacterLiteral::UTF16: in BuildObjCNumericLiteral()
336 case CharacterLiteral::UTF32: in BuildObjCNumericLiteral()
427 isa<CharacterLiteral>(OrigElement) || in CheckObjCCollectionLiteralElement()
432 int Which = isa<CharacterLiteral>(OrigElement) ? 1 in CheckObjCCollectionLiteralElement()
577 if (const CharacterLiteral *Char = in BuildObjCBoxedExpr()
578 dyn_cast<CharacterLiteral>(ValueExpr->IgnoreParens())) { in BuildObjCBoxedExpr()
582 case CharacterLiteral::Ascii: in BuildObjCBoxedExpr()
[all …]
DSemaTemplate.cpp5505 CharacterLiteral::CharacterKind Kind; in BuildExpressionFromIntegralTemplateArgument()
5507 Kind = CharacterLiteral::Wide; in BuildExpressionFromIntegralTemplateArgument()
5509 Kind = CharacterLiteral::UTF16; in BuildExpressionFromIntegralTemplateArgument()
5511 Kind = CharacterLiteral::UTF32; in BuildExpressionFromIntegralTemplateArgument()
5513 Kind = CharacterLiteral::Ascii; in BuildExpressionFromIntegralTemplateArgument()
5515 E = new (Context) CharacterLiteral(Arg.getAsIntegral().getZExtValue(), in BuildExpressionFromIntegralTemplateArgument()
DSemaExpr.cpp3081 CharacterLiteral::CharacterKind Kind = CharacterLiteral::Ascii; in ActOnCharacterConstant()
3083 Kind = CharacterLiteral::Wide; in ActOnCharacterConstant()
3085 Kind = CharacterLiteral::UTF16; in ActOnCharacterConstant()
3087 Kind = CharacterLiteral::UTF32; in ActOnCharacterConstant()
3089 Expr *Lit = new (Context) CharacterLiteral(Literal.getValue(), Kind, Ty, in ActOnCharacterConstant()
7856 const CharacterLiteral *CharExpr = in diagnoseStringPlusChar()
7857 dyn_cast<CharacterLiteral>(RHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
7860 CharExpr = dyn_cast<CharacterLiteral>(LHSExpr->IgnoreImpCasts()); in diagnoseStringPlusChar()
7892 if (isa<CharacterLiteral>(RHSExpr->IgnoreImpCasts())) { in diagnoseStringPlusChar()
DSemaStmt.cpp1338 void VisitCharacterLiteral(CharacterLiteral *E) { } in VisitCharacterLiteral()
DSemaChecking.cpp4270 } else if (const CharacterLiteral *CL = dyn_cast<CharacterLiteral>(E)) { in checkFormatExpr()
/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/StaticAnalyzer/Core/
DSValBuilder.cpp272 const CharacterLiteral *C = cast<CharacterLiteral>(E); in getConstantVal()
/external/clang/lib/AST/
DStmtPrinter.cpp1152 void StmtPrinter::VisitCharacterLiteral(CharacterLiteral *Node) { in VisitCharacterLiteral()
1156 case CharacterLiteral::Ascii: break; // no prefix. in VisitCharacterLiteral()
1157 case CharacterLiteral::Wide: OS << 'L'; break; in VisitCharacterLiteral()
1158 case CharacterLiteral::UTF16: OS << 'u'; break; in VisitCharacterLiteral()
1159 case CharacterLiteral::UTF32: OS << 'U'; break; in VisitCharacterLiteral()
DASTDumper.cpp495 void VisitCharacterLiteral(const CharacterLiteral *Node);
1820 void ASTDumper::VisitCharacterLiteral(const CharacterLiteral *Node) { in VisitCharacterLiteral()
DStmtProfile.cpp638 void StmtProfiler::VisitCharacterLiteral(const CharacterLiteral *S) { in VisitCharacterLiteral()
DASTImporter.cpp217 Expr *VisitCharacterLiteral(CharacterLiteral *E);
5077 Expr *ASTNodeImporter::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()
5082 return new (Importer.getToContext()) CharacterLiteral(E->getValue(), in VisitCharacterLiteral()
DItaniumMangle.cpp3408 Out << cast<CharacterLiteral>(E)->getValue(); in mangleExpression()
/external/clang/include/clang/Basic/
DStmtNodes.td63 def CharacterLiteral : DStmt<Expr>;
/external/v8/tools/gcmole/
Dgcmole.cc542 VISIT(CharacterLiteral); in VisitExpr()
603 IGNORE_EXPR(CharacterLiteral);
/external/clang/lib/Analysis/
DReachableCode.cpp45 isa<CharacterLiteral>(Ex) || in isTrivialExpression()
/external/clang/lib/CodeGen/
DCGExprAgg.cpp1047 if (const CharacterLiteral *CL = dyn_cast<CharacterLiteral>(E)) in isSimpleZero()
/external/clang/include/clang/AST/
DExpr.h1347 class CharacterLiteral : public Expr {
1361 CharacterLiteral(unsigned value, CharacterKind kind, QualType type, in CharacterLiteral() function
1370 CharacterLiteral(EmptyShell Empty) : Expr(CharacterLiteralClass, Empty) { } in CharacterLiteral() function
DStmt.h130 friend class CharacterLiteral; in LLVM_ALIGNAS() local
DRecursiveASTVisitor.h2331 DEF_TRAVERSE_STMT(CharacterLiteral, {})
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1320 static_assert(std::is_base_of<CharacterLiteral, T>::value ||
DASTMatchers.h1485 CharacterLiteral> characterLiteral;
/external/clang/lib/Serialization/
DASTReaderStmt.cpp517 void ASTStmtReader::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()
521 E->setKind(static_cast<CharacterLiteral::CharacterKind>(Record[Idx++])); in VisitCharacterLiteral()
2668 S = new (Context) CharacterLiteral(Empty); in ReadStmtFromStream()
DASTWriterStmt.cpp440 void ASTStmtWriter::VisitCharacterLiteral(CharacterLiteral *E) { in VisitCharacterLiteral()

12