Lines Matching refs:Writer
32 ASTWriter &Writer;
39 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record)
40 : Writer(Writer), Record(Writer, Record),
92 Record.push_back(Writer.getSwitchCaseID(S));
152 Record.push_back(Writer.RecordSwitchCaseID(SC));
280 Writer.AddToken(S->getAsmToks()[I], Record.getRecordData());
392 AbbrevToUse = Writer.getDeclRefExprAbbrev();
417 AbbrevToUse = Writer.getIntegerLiteralAbbrev();
460 AbbrevToUse = Writer.getCharacterLiteralAbbrev();
686 AbbrevToUse = Writer.getExprImplicitCastAbbrev();
1674 // TODO: Figure out sane writer behavior for a TypoExpr, if necessary
2501 ASTStmtWriter Writer(*this, Record);
2535 Writer.Visit(S);
2537 uint64_t Offset = Writer.Emit();
2546 assert(Writer->SubStmtEntries.empty() && "unexpected entries in sub-stmt map");
2547 assert(Writer->ParentStmts.empty() && "unexpected entries in parent stmt map");
2550 Writer->WriteSubStmt(StmtsToEmit[I]);
2557 Writer->Stream.EmitRecord(serialization::STMT_STOP, ArrayRef<uint32_t>());
2559 Writer->SubStmtEntries.clear();
2560 Writer->ParentStmts.clear();
2571 Writer->WriteSubStmt(StmtsToEmit[N - I - 1]);