• Home
  • Raw
  • Download

Lines Matching full:record

34     ASTRecordWriter Record;  member in clang::ASTStmtWriter
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
41 : Writer(Writer), Record(Writer, Record), in ASTStmtWriter()
49 return Record.EmitStmt(Code, AbbrevToUse); in Emit()
64 Record.AddSourceLocation(ArgInfo.TemplateKWLoc); in AddTemplateKWAndArgsInfo()
65 Record.AddSourceLocation(ArgInfo.LAngleLoc); in AddTemplateKWAndArgsInfo()
66 Record.AddSourceLocation(ArgInfo.RAngleLoc); in AddTemplateKWAndArgsInfo()
68 Record.AddTemplateArgumentLoc(Args[i]); in AddTemplateKWAndArgsInfo()
76 Record.AddSourceLocation(S->getSemiLoc()); in VisitNullStmt()
77 Record.push_back(S->NullStmtBits.HasLeadingEmptyMacro); in VisitNullStmt()
83 Record.push_back(S->size()); in VisitCompoundStmt()
85 Record.AddStmt(CS); in VisitCompoundStmt()
86 Record.AddSourceLocation(S->getLBracLoc()); in VisitCompoundStmt()
87 Record.AddSourceLocation(S->getRBracLoc()); in VisitCompoundStmt()
93 Record.push_back(Writer.getSwitchCaseID(S)); in VisitSwitchCase()
94 Record.AddSourceLocation(S->getKeywordLoc()); in VisitSwitchCase()
95 Record.AddSourceLocation(S->getColonLoc()); in VisitSwitchCase()
100 Record.push_back(S->caseStmtIsGNURange()); in VisitCaseStmt()
101 Record.AddStmt(S->getLHS()); in VisitCaseStmt()
102 Record.AddStmt(S->getSubStmt()); in VisitCaseStmt()
104 Record.AddStmt(S->getRHS()); in VisitCaseStmt()
105 Record.AddSourceLocation(S->getEllipsisLoc()); in VisitCaseStmt()
112 Record.AddStmt(S->getSubStmt()); in VisitDefaultStmt()
118 Record.AddDeclRef(S->getDecl()); in VisitLabelStmt()
119 Record.AddStmt(S->getSubStmt()); in VisitLabelStmt()
120 Record.AddSourceLocation(S->getIdentLoc()); in VisitLabelStmt()
126 Record.push_back(S->getAttrs().size()); in VisitAttributedStmt()
127 Record.AddAttributes(S->getAttrs()); in VisitAttributedStmt()
128 Record.AddStmt(S->getSubStmt()); in VisitAttributedStmt()
129 Record.AddSourceLocation(S->getAttrLoc()); in VisitAttributedStmt()
140 Record.push_back(S->isConstexpr()); in VisitIfStmt()
141 Record.push_back(HasElse); in VisitIfStmt()
142 Record.push_back(HasVar); in VisitIfStmt()
143 Record.push_back(HasInit); in VisitIfStmt()
145 Record.AddStmt(S->getCond()); in VisitIfStmt()
146 Record.AddStmt(S->getThen()); in VisitIfStmt()
148 Record.AddStmt(S->getElse()); in VisitIfStmt()
150 Record.AddDeclRef(S->getConditionVariable()); in VisitIfStmt()
152 Record.AddStmt(S->getInit()); in VisitIfStmt()
154 Record.AddSourceLocation(S->getIfLoc()); in VisitIfStmt()
155 Record.AddSourceLocation(S->getLParenLoc()); in VisitIfStmt()
156 Record.AddSourceLocation(S->getRParenLoc()); in VisitIfStmt()
158 Record.AddSourceLocation(S->getElseLoc()); in VisitIfStmt()
168 Record.push_back(HasInit); in VisitSwitchStmt()
169 Record.push_back(HasVar); in VisitSwitchStmt()
170 Record.push_back(S->isAllEnumCasesCovered()); in VisitSwitchStmt()
172 Record.AddStmt(S->getCond()); in VisitSwitchStmt()
173 Record.AddStmt(S->getBody()); in VisitSwitchStmt()
175 Record.AddStmt(S->getInit()); in VisitSwitchStmt()
177 Record.AddDeclRef(S->getConditionVariable()); in VisitSwitchStmt()
179 Record.AddSourceLocation(S->getSwitchLoc()); in VisitSwitchStmt()
180 Record.AddSourceLocation(S->getLParenLoc()); in VisitSwitchStmt()
181 Record.AddSourceLocation(S->getRParenLoc()); in VisitSwitchStmt()
185 Record.push_back(Writer.RecordSwitchCaseID(SC)); in VisitSwitchStmt()
193 Record.push_back(HasVar); in VisitWhileStmt()
195 Record.AddStmt(S->getCond()); in VisitWhileStmt()
196 Record.AddStmt(S->getBody()); in VisitWhileStmt()
198 Record.AddDeclRef(S->getConditionVariable()); in VisitWhileStmt()
200 Record.AddSourceLocation(S->getWhileLoc()); in VisitWhileStmt()
201 Record.AddSourceLocation(S->getLParenLoc()); in VisitWhileStmt()
202 Record.AddSourceLocation(S->getRParenLoc()); in VisitWhileStmt()
208 Record.AddStmt(S->getCond()); in VisitDoStmt()
209 Record.AddStmt(S->getBody()); in VisitDoStmt()
210 Record.AddSourceLocation(S->getDoLoc()); in VisitDoStmt()
211 Record.AddSourceLocation(S->getWhileLoc()); in VisitDoStmt()
212 Record.AddSourceLocation(S->getRParenLoc()); in VisitDoStmt()
218 Record.AddStmt(S->getInit()); in VisitForStmt()
219 Record.AddStmt(S->getCond()); in VisitForStmt()
220 Record.AddDeclRef(S->getConditionVariable()); in VisitForStmt()
221 Record.AddStmt(S->getInc()); in VisitForStmt()
222 Record.AddStmt(S->getBody()); in VisitForStmt()
223 Record.AddSourceLocation(S->getForLoc()); in VisitForStmt()
224 Record.AddSourceLocation(S->getLParenLoc()); in VisitForStmt()
225 Record.AddSourceLocation(S->getRParenLoc()); in VisitForStmt()
231 Record.AddDeclRef(S->getLabel()); in VisitGotoStmt()
232 Record.AddSourceLocation(S->getGotoLoc()); in VisitGotoStmt()
233 Record.AddSourceLocation(S->getLabelLoc()); in VisitGotoStmt()
239 Record.AddSourceLocation(S->getGotoLoc()); in VisitIndirectGotoStmt()
240 Record.AddSourceLocation(S->getStarLoc()); in VisitIndirectGotoStmt()
241 Record.AddStmt(S->getTarget()); in VisitIndirectGotoStmt()
247 Record.AddSourceLocation(S->getContinueLoc()); in VisitContinueStmt()
253 Record.AddSourceLocation(S->getBreakLoc()); in VisitBreakStmt()
261 Record.push_back(HasNRVOCandidate); in VisitReturnStmt()
263 Record.AddStmt(S->getRetValue()); in VisitReturnStmt()
265 Record.AddDeclRef(S->getNRVOCandidate()); in VisitReturnStmt()
267 Record.AddSourceLocation(S->getReturnLoc()); in VisitReturnStmt()
273 Record.AddSourceLocation(S->getBeginLoc()); in VisitDeclStmt()
274 Record.AddSourceLocation(S->getEndLoc()); in VisitDeclStmt()
277 Record.AddDeclRef(*D); in VisitDeclStmt()
283 Record.push_back(S->getNumOutputs()); in VisitAsmStmt()
284 Record.push_back(S->getNumInputs()); in VisitAsmStmt()
285 Record.push_back(S->getNumClobbers()); in VisitAsmStmt()
286 Record.AddSourceLocation(S->getAsmLoc()); in VisitAsmStmt()
287 Record.push_back(S->isVolatile()); in VisitAsmStmt()
288 Record.push_back(S->isSimple()); in VisitAsmStmt()
293 Record.push_back(S->getNumLabels()); in VisitGCCAsmStmt()
294 Record.AddSourceLocation(S->getRParenLoc()); in VisitGCCAsmStmt()
295 Record.AddStmt(S->getAsmString()); in VisitGCCAsmStmt()
299 Record.AddIdentifierRef(S->getOutputIdentifier(I)); in VisitGCCAsmStmt()
300 Record.AddStmt(S->getOutputConstraintLiteral(I)); in VisitGCCAsmStmt()
301 Record.AddStmt(S->getOutputExpr(I)); in VisitGCCAsmStmt()
306 Record.AddIdentifierRef(S->getInputIdentifier(I)); in VisitGCCAsmStmt()
307 Record.AddStmt(S->getInputConstraintLiteral(I)); in VisitGCCAsmStmt()
308 Record.AddStmt(S->getInputExpr(I)); in VisitGCCAsmStmt()
313 Record.AddStmt(S->getClobberStringLiteral(I)); in VisitGCCAsmStmt()
316 for (auto *E : S->labels()) Record.AddStmt(E); in VisitGCCAsmStmt()
323 Record.AddSourceLocation(S->getLBraceLoc()); in VisitMSAsmStmt()
324 Record.AddSourceLocation(S->getEndLoc()); in VisitMSAsmStmt()
325 Record.push_back(S->getNumAsmToks()); in VisitMSAsmStmt()
326 Record.AddString(S->getAsmString()); in VisitMSAsmStmt()
331 Writer.AddToken(S->getAsmToks()[I], Record.getRecordData()); in VisitMSAsmStmt()
336 Record.AddString(S->getClobber(I)); in VisitMSAsmStmt()
341 Record.AddStmt(S->getOutputExpr(I)); in VisitMSAsmStmt()
342 Record.AddString(S->getOutputConstraint(I)); in VisitMSAsmStmt()
347 Record.AddStmt(S->getInputExpr(I)); in VisitMSAsmStmt()
348 Record.AddString(S->getInputConstraint(I)); in VisitMSAsmStmt()
356 Record.push_back(CoroStmt->getParamMoves().size()); in VisitCoroutineBodyStmt()
358 Record.AddStmt(S); in VisitCoroutineBodyStmt()
364 Record.AddSourceLocation(S->getKeywordLoc()); in VisitCoreturnStmt()
365 Record.AddStmt(S->getOperand()); in VisitCoreturnStmt()
366 Record.AddStmt(S->getPromiseCall()); in VisitCoreturnStmt()
367 Record.push_back(S->isImplicit()); in VisitCoreturnStmt()
373 Record.AddSourceLocation(E->getKeywordLoc()); in VisitCoroutineSuspendExpr()
375 Record.AddStmt(S); in VisitCoroutineSuspendExpr()
376 Record.AddStmt(E->getOpaqueValue()); in VisitCoroutineSuspendExpr()
381 Record.push_back(E->isImplicit()); in VisitCoawaitExpr()
392 Record.AddSourceLocation(E->getKeywordLoc()); in VisitDependentCoawaitExpr()
394 Record.AddStmt(S); in VisitDependentCoawaitExpr()
399 addConstraintSatisfaction(ASTRecordWriter &Record, in addConstraintSatisfaction() argument
401 Record.push_back(Satisfaction.IsSatisfied); in addConstraintSatisfaction()
403 Record.push_back(Satisfaction.NumRecords); in addConstraintSatisfaction()
405 Record.AddStmt(const_cast<Expr *>(DetailRecord.first)); in addConstraintSatisfaction()
407 Record.push_back(E == nullptr); in addConstraintSatisfaction()
409 Record.AddStmt(E); in addConstraintSatisfaction()
413 Record.AddSourceLocation(Diag->first); in addConstraintSatisfaction()
414 Record.AddString(Diag->second); in addConstraintSatisfaction()
422 ASTRecordWriter &Record, in addSubstitutionDiagnostic() argument
424 Record.AddString(D->SubstitutedEntity); in addSubstitutionDiagnostic()
425 Record.AddSourceLocation(D->DiagLoc); in addSubstitutionDiagnostic()
426 Record.AddString(D->DiagMessage); in addSubstitutionDiagnostic()
433 Record.push_back(TemplateArgs.size()); in VisitConceptSpecializationExpr()
434 Record.AddNestedNameSpecifierLoc(E->getNestedNameSpecifierLoc()); in VisitConceptSpecializationExpr()
435 Record.AddSourceLocation(E->getTemplateKWLoc()); in VisitConceptSpecializationExpr()
436 Record.AddDeclarationNameInfo(E->getConceptNameInfo()); in VisitConceptSpecializationExpr()
437 Record.AddDeclRef(E->getNamedConcept()); in VisitConceptSpecializationExpr()
438 Record.AddDeclRef(E->getFoundDecl()); in VisitConceptSpecializationExpr()
439 Record.AddASTTemplateArgumentListInfo(E->getTemplateArgsAsWritten()); in VisitConceptSpecializationExpr()
441 Record.AddTemplateArgument(Arg); in VisitConceptSpecializationExpr()
443 addConstraintSatisfaction(Record, E->getSatisfaction()); in VisitConceptSpecializationExpr()
450 Record.push_back(E->getLocalParameters().size()); in VisitRequiresExpr()
451 Record.push_back(E->getRequirements().size()); in VisitRequiresExpr()
452 Record.AddSourceLocation(E->RequiresExprBits.RequiresKWLoc); in VisitRequiresExpr()
453 Record.push_back(E->RequiresExprBits.IsSatisfied); in VisitRequiresExpr()
454 Record.AddDeclRef(E->getBody()); in VisitRequiresExpr()
456 Record.AddDeclRef(P); in VisitRequiresExpr()
459 Record.push_back(concepts::Requirement::RK_Type); in VisitRequiresExpr()
460 Record.push_back(TypeReq->Status); in VisitRequiresExpr()
462 addSubstitutionDiagnostic(Record, TypeReq->getSubstitutionDiagnostic()); in VisitRequiresExpr()
464 Record.AddTypeSourceInfo(TypeReq->getType()); in VisitRequiresExpr()
466 Record.push_back(ExprReq->getKind()); in VisitRequiresExpr()
467 Record.push_back(ExprReq->Status); in VisitRequiresExpr()
469 addSubstitutionDiagnostic(Record, in VisitRequiresExpr()
472 Record.AddStmt(ExprReq->Value.get<Expr *>()); in VisitRequiresExpr()
474 Record.AddSourceLocation(ExprReq->NoexceptLoc); in VisitRequiresExpr()
477 Record.push_back(2); in VisitRequiresExpr()
478 addSubstitutionDiagnostic(Record, RetReq.getSubstitutionDiagnostic()); in VisitRequiresExpr()
480 Record.push_back(1); in VisitRequiresExpr()
481 Record.AddTemplateParameterList( in VisitRequiresExpr()
485 Record.AddStmt( in VisitRequiresExpr()
489 Record.push_back(0); in VisitRequiresExpr()
494 Record.push_back(concepts::Requirement::RK_Nested); in VisitRequiresExpr()
495 Record.push_back(NestedReq->isSubstitutionFailure()); in VisitRequiresExpr()
497 addSubstitutionDiagnostic(Record, in VisitRequiresExpr()
500 Record.AddStmt(NestedReq->Value.get<Expr *>()); in VisitRequiresExpr()
502 addConstraintSatisfaction(Record, *NestedReq->Satisfaction); in VisitRequiresExpr()
506 Record.AddSourceLocation(E->getEndLoc()); in VisitRequiresExpr()
515 Record.push_back(std::distance(S->capture_begin(), S->capture_end())); in VisitCapturedStmt()
518 Record.AddDeclRef(S->getCapturedDecl()); in VisitCapturedStmt()
519 Record.push_back(S->getCapturedRegionKind()); in VisitCapturedStmt()
521 Record.AddDeclRef(S->getCapturedRecordDecl()); in VisitCapturedStmt()
525 Record.AddStmt(I); in VisitCapturedStmt()
528 Record.AddStmt(S->getCapturedStmt()); in VisitCapturedStmt()
533 Record.AddDeclRef(nullptr); in VisitCapturedStmt()
535 Record.AddDeclRef(I.getCapturedVar()); in VisitCapturedStmt()
536 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
537 Record.AddSourceLocation(I.getLocation()); in VisitCapturedStmt()
545 Record.AddTypeRef(E->getType()); in VisitExpr()
546 Record.push_back(E->isTypeDependent()); in VisitExpr()
547 Record.push_back(E->isValueDependent()); in VisitExpr()
548 Record.push_back(E->isInstantiationDependent()); in VisitExpr()
549 Record.push_back(E->containsUnexpandedParameterPack()); in VisitExpr()
550 Record.push_back(E->containsErrors()); in VisitExpr()
551 Record.push_back(E->getValueKind()); in VisitExpr()
552 Record.push_back(E->getObjectKind()); in VisitExpr()
557 Record.push_back(E->ConstantExprBits.ResultKind); in VisitConstantExpr()
559 Record.push_back(E->ConstantExprBits.APValueKind); in VisitConstantExpr()
560 Record.push_back(E->ConstantExprBits.IsUnsigned); in VisitConstantExpr()
561 Record.push_back(E->ConstantExprBits.BitWidth); in VisitConstantExpr()
563 Record.push_back(E->ConstantExprBits.IsImmediateInvocation); in VisitConstantExpr()
569 Record.push_back(E->Int64Result()); in VisitConstantExpr()
572 Record.AddAPValue(E->APValueResult()); in VisitConstantExpr()
578 Record.AddStmt(E->getSubExpr()); in VisitConstantExpr()
586 Record.push_back(HasFunctionName); in VisitPredefinedExpr()
587 Record.push_back(E->getIdentKind()); // FIXME: stable encoding in VisitPredefinedExpr()
588 Record.AddSourceLocation(E->getLocation()); in VisitPredefinedExpr()
590 Record.AddStmt(E->getFunctionName()); in VisitPredefinedExpr()
597 Record.push_back(E->hasQualifier()); in VisitDeclRefExpr()
598 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr()
599 Record.push_back(E->hasTemplateKWAndArgsInfo()); in VisitDeclRefExpr()
600 Record.push_back(E->hadMultipleCandidates()); in VisitDeclRefExpr()
601 Record.push_back(E->refersToEnclosingVariableOrCapture()); in VisitDeclRefExpr()
602 Record.push_back(E->isNonOdrUse()); in VisitDeclRefExpr()
606 Record.push_back(NumTemplateArgs); in VisitDeclRefExpr()
619 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitDeclRefExpr()
622 Record.AddDeclRef(E->getFoundDecl()); in VisitDeclRefExpr()
628 Record.AddDeclRef(E->getDecl()); in VisitDeclRefExpr()
629 Record.AddSourceLocation(E->getLocation()); in VisitDeclRefExpr()
630 Record.AddDeclarationNameLoc(E->DNLoc, E->getDecl()->getDeclName()); in VisitDeclRefExpr()
636 Record.AddSourceLocation(E->getLocation()); in VisitIntegerLiteral()
637 Record.AddAPInt(E->getValue()); in VisitIntegerLiteral()
648 Record.AddSourceLocation(E->getLocation()); in VisitFixedPointLiteral()
649 Record.push_back(E->getScale()); in VisitFixedPointLiteral()
650 Record.AddAPInt(E->getValue()); in VisitFixedPointLiteral()
656 Record.push_back(E->getRawSemantics()); in VisitFloatingLiteral()
657 Record.push_back(E->isExact()); in VisitFloatingLiteral()
658 Record.AddAPFloat(E->getValue()); in VisitFloatingLiteral()
659 Record.AddSourceLocation(E->getLocation()); in VisitFloatingLiteral()
665 Record.AddStmt(E->getSubExpr()); in VisitImaginaryLiteral()
673 Record.push_back(E->getNumConcatenated()); in VisitStringLiteral()
674 Record.push_back(E->getLength()); in VisitStringLiteral()
675 Record.push_back(E->getCharByteWidth()); in VisitStringLiteral()
676 Record.push_back(E->getKind()); in VisitStringLiteral()
677 Record.push_back(E->isPascal()); in VisitStringLiteral()
681 Record.AddSourceLocation(E->getStrTokenLoc(I)); in VisitStringLiteral()
686 Record.push_back(StrData[I]); in VisitStringLiteral()
693 Record.push_back(E->getValue()); in VisitCharacterLiteral()
694 Record.AddSourceLocation(E->getLocation()); in VisitCharacterLiteral()
695 Record.push_back(E->getKind()); in VisitCharacterLiteral()
704 Record.AddSourceLocation(E->getLParen()); in VisitParenExpr()
705 Record.AddSourceLocation(E->getRParen()); in VisitParenExpr()
706 Record.AddStmt(E->getSubExpr()); in VisitParenExpr()
712 Record.push_back(E->getNumExprs()); in VisitParenListExpr()
714 Record.AddStmt(SubStmt); in VisitParenListExpr()
715 Record.AddSourceLocation(E->getLParenLoc()); in VisitParenListExpr()
716 Record.AddSourceLocation(E->getRParenLoc()); in VisitParenListExpr()
725 Record.push_back(HasFPFeatures); in VisitUnaryOperator()
726 Record.AddStmt(E->getSubExpr()); in VisitUnaryOperator()
727 Record.push_back(E->getOpcode()); // FIXME: stable encoding in VisitUnaryOperator()
728 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnaryOperator()
729 Record.push_back(E->canOverflow()); in VisitUnaryOperator()
731 Record.push_back(E->getStoredFPFeatures().getAsOpaqueInt()); in VisitUnaryOperator()
737 Record.push_back(E->getNumComponents()); in VisitOffsetOfExpr()
738 Record.push_back(E->getNumExpressions()); in VisitOffsetOfExpr()
739 Record.AddSourceLocation(E->getOperatorLoc()); in VisitOffsetOfExpr()
740 Record.AddSourceLocation(E->getRParenLoc()); in VisitOffsetOfExpr()
741 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitOffsetOfExpr()
744 Record.push_back(ON.getKind()); // FIXME: Stable encoding in VisitOffsetOfExpr()
745 Record.AddSourceLocation(ON.getSourceRange().getBegin()); in VisitOffsetOfExpr()
746 Record.AddSourceLocation(ON.getSourceRange().getEnd()); in VisitOffsetOfExpr()
749 Record.push_back(ON.getArrayExprIndex()); in VisitOffsetOfExpr()
753 Record.AddDeclRef(ON.getField()); in VisitOffsetOfExpr()
757 Record.AddIdentifierRef(ON.getFieldName()); in VisitOffsetOfExpr()
761 Record.AddCXXBaseSpecifier(*ON.getBase()); in VisitOffsetOfExpr()
766 Record.AddStmt(E->getIndexExpr(I)); in VisitOffsetOfExpr()
772 Record.push_back(E->getKind()); in VisitUnaryExprOrTypeTraitExpr()
774 Record.AddTypeSourceInfo(E->getArgumentTypeInfo()); in VisitUnaryExprOrTypeTraitExpr()
776 Record.push_back(0); in VisitUnaryExprOrTypeTraitExpr()
777 Record.AddStmt(E->getArgumentExpr()); in VisitUnaryExprOrTypeTraitExpr()
779 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnaryExprOrTypeTraitExpr()
780 Record.AddSourceLocation(E->getRParenLoc()); in VisitUnaryExprOrTypeTraitExpr()
786 Record.AddStmt(E->getLHS()); in VisitArraySubscriptExpr()
787 Record.AddStmt(E->getRHS()); in VisitArraySubscriptExpr()
788 Record.AddSourceLocation(E->getRBracketLoc()); in VisitArraySubscriptExpr()
794 Record.AddStmt(E->getBase()); in VisitMatrixSubscriptExpr()
795 Record.AddStmt(E->getRowIdx()); in VisitMatrixSubscriptExpr()
796 Record.AddStmt(E->getColumnIdx()); in VisitMatrixSubscriptExpr()
797 Record.AddSourceLocation(E->getRBracketLoc()); in VisitMatrixSubscriptExpr()
803 Record.AddStmt(E->getBase()); in VisitOMPArraySectionExpr()
804 Record.AddStmt(E->getLowerBound()); in VisitOMPArraySectionExpr()
805 Record.AddStmt(E->getLength()); in VisitOMPArraySectionExpr()
806 Record.AddStmt(E->getStride()); in VisitOMPArraySectionExpr()
807 Record.AddSourceLocation(E->getColonLocFirst()); in VisitOMPArraySectionExpr()
808 Record.AddSourceLocation(E->getColonLocSecond()); in VisitOMPArraySectionExpr()
809 Record.AddSourceLocation(E->getRBracketLoc()); in VisitOMPArraySectionExpr()
815 Record.push_back(E->getDimensions().size()); in VisitOMPArrayShapingExpr()
816 Record.AddStmt(E->getBase()); in VisitOMPArrayShapingExpr()
818 Record.AddStmt(Dim); in VisitOMPArrayShapingExpr()
820 Record.AddSourceRange(SR); in VisitOMPArrayShapingExpr()
821 Record.AddSourceLocation(E->getLParenLoc()); in VisitOMPArrayShapingExpr()
822 Record.AddSourceLocation(E->getRParenLoc()); in VisitOMPArrayShapingExpr()
828 Record.push_back(E->numOfIterators()); in VisitOMPIteratorExpr()
829 Record.AddSourceLocation(E->getIteratorKwLoc()); in VisitOMPIteratorExpr()
830 Record.AddSourceLocation(E->getLParenLoc()); in VisitOMPIteratorExpr()
831 Record.AddSourceLocation(E->getRParenLoc()); in VisitOMPIteratorExpr()
833 Record.AddDeclRef(E->getIteratorDecl(I)); in VisitOMPIteratorExpr()
834 Record.AddSourceLocation(E->getAssignLoc(I)); in VisitOMPIteratorExpr()
836 Record.AddStmt(Range.Begin); in VisitOMPIteratorExpr()
837 Record.AddStmt(Range.End); in VisitOMPIteratorExpr()
838 Record.AddStmt(Range.Step); in VisitOMPIteratorExpr()
839 Record.AddSourceLocation(E->getColonLoc(I)); in VisitOMPIteratorExpr()
841 Record.AddSourceLocation(E->getSecondColonLoc(I)); in VisitOMPIteratorExpr()
844 Record.AddDeclRef(HD.CounterVD); in VisitOMPIteratorExpr()
845 Record.AddStmt(HD.Upper); in VisitOMPIteratorExpr()
846 Record.AddStmt(HD.Update); in VisitOMPIteratorExpr()
847 Record.AddStmt(HD.CounterUpdate); in VisitOMPIteratorExpr()
854 Record.push_back(E->getNumArgs()); in VisitCallExpr()
855 Record.push_back(E->hasStoredFPFeatures()); in VisitCallExpr()
856 Record.AddSourceLocation(E->getRParenLoc()); in VisitCallExpr()
857 Record.AddStmt(E->getCallee()); in VisitCallExpr()
860 Record.AddStmt(*Arg); in VisitCallExpr()
861 Record.push_back(static_cast<unsigned>(E->getADLCallKind())); in VisitCallExpr()
863 Record.push_back(E->getFPFeatures().getAsOpaqueInt()); in VisitCallExpr()
869 Record.push_back(std::distance(E->children().begin(), E->children().end())); in VisitRecoveryExpr()
870 Record.AddSourceLocation(E->getBeginLoc()); in VisitRecoveryExpr()
871 Record.AddSourceLocation(E->getEndLoc()); in VisitRecoveryExpr()
873 Record.AddStmt(Child); in VisitRecoveryExpr()
890 Record.push_back(HasQualifier); in VisitMemberExpr()
891 Record.push_back(HasFoundDecl); in VisitMemberExpr()
892 Record.push_back(HasTemplateInfo); in VisitMemberExpr()
893 Record.push_back(NumTemplateArgs); in VisitMemberExpr()
895 Record.AddStmt(E->getBase()); in VisitMemberExpr()
896 Record.AddDeclRef(E->getMemberDecl()); in VisitMemberExpr()
897 Record.AddDeclarationNameLoc(E->MemberDNLoc, in VisitMemberExpr()
899 Record.AddSourceLocation(E->getMemberLoc()); in VisitMemberExpr()
900 Record.push_back(E->isArrow()); in VisitMemberExpr()
901 Record.push_back(E->hadMultipleCandidates()); in VisitMemberExpr()
902 Record.push_back(E->isNonOdrUse()); in VisitMemberExpr()
903 Record.AddSourceLocation(E->getOperatorLoc()); in VisitMemberExpr()
907 Record.AddDeclRef(FoundDecl.getDecl()); in VisitMemberExpr()
908 Record.push_back(FoundDecl.getAccess()); in VisitMemberExpr()
912 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitMemberExpr()
923 Record.AddStmt(E->getBase()); in VisitObjCIsaExpr()
924 Record.AddSourceLocation(E->getIsaMemberLoc()); in VisitObjCIsaExpr()
925 Record.AddSourceLocation(E->getOpLoc()); in VisitObjCIsaExpr()
926 Record.push_back(E->isArrow()); in VisitObjCIsaExpr()
933 Record.AddStmt(E->getSubExpr()); in VisitObjCIndirectCopyRestoreExpr()
934 Record.push_back(E->shouldCopy()); in VisitObjCIndirectCopyRestoreExpr()
940 Record.AddSourceLocation(E->getLParenLoc()); in VisitObjCBridgedCastExpr()
941 Record.AddSourceLocation(E->getBridgeKeywordLoc()); in VisitObjCBridgedCastExpr()
942 Record.push_back(E->getBridgeKind()); // FIXME: Stable encoding in VisitObjCBridgedCastExpr()
948 Record.push_back(E->path_size()); in VisitCastExpr()
949 Record.push_back(E->hasStoredFPFeatures()); in VisitCastExpr()
950 Record.AddStmt(E->getSubExpr()); in VisitCastExpr()
951 Record.push_back(E->getCastKind()); // FIXME: stable encoding in VisitCastExpr()
955 Record.AddCXXBaseSpecifier(**PI); in VisitCastExpr()
958 Record.push_back(E->getFPFeatures().getAsOpaqueInt()); in VisitCastExpr()
966 Record.push_back(HasFPFeatures); in VisitBinaryOperator()
967 Record.push_back(E->getOpcode()); // FIXME: stable encoding in VisitBinaryOperator()
968 Record.AddStmt(E->getLHS()); in VisitBinaryOperator()
969 Record.AddStmt(E->getRHS()); in VisitBinaryOperator()
970 Record.AddSourceLocation(E->getOperatorLoc()); in VisitBinaryOperator()
972 Record.push_back(E->getStoredFPFeatures().getAsOpaqueInt()); in VisitBinaryOperator()
978 Record.AddTypeRef(E->getComputationLHSType()); in VisitCompoundAssignOperator()
979 Record.AddTypeRef(E->getComputationResultType()); in VisitCompoundAssignOperator()
985 Record.AddStmt(E->getCond()); in VisitConditionalOperator()
986 Record.AddStmt(E->getLHS()); in VisitConditionalOperator()
987 Record.AddStmt(E->getRHS()); in VisitConditionalOperator()
988 Record.AddSourceLocation(E->getQuestionLoc()); in VisitConditionalOperator()
989 Record.AddSourceLocation(E->getColonLoc()); in VisitConditionalOperator()
996 Record.AddStmt(E->getOpaqueValue()); in VisitBinaryConditionalOperator()
997 Record.AddStmt(E->getCommon()); in VisitBinaryConditionalOperator()
998 Record.AddStmt(E->getCond()); in VisitBinaryConditionalOperator()
999 Record.AddStmt(E->getTrueExpr()); in VisitBinaryConditionalOperator()
1000 Record.AddStmt(E->getFalseExpr()); in VisitBinaryConditionalOperator()
1001 Record.AddSourceLocation(E->getQuestionLoc()); in VisitBinaryConditionalOperator()
1002 Record.AddSourceLocation(E->getColonLoc()); in VisitBinaryConditionalOperator()
1008 Record.push_back(E->isPartOfExplicitCast()); in VisitImplicitCastExpr()
1018 Record.AddTypeSourceInfo(E->getTypeInfoAsWritten()); in VisitExplicitCastExpr()
1023 Record.AddSourceLocation(E->getLParenLoc()); in VisitCStyleCastExpr()
1024 Record.AddSourceLocation(E->getRParenLoc()); in VisitCStyleCastExpr()
1030 Record.AddSourceLocation(E->getLParenLoc()); in VisitCompoundLiteralExpr()
1031 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCompoundLiteralExpr()
1032 Record.AddStmt(E->getInitializer()); in VisitCompoundLiteralExpr()
1033 Record.push_back(E->isFileScope()); in VisitCompoundLiteralExpr()
1039 Record.AddStmt(E->getBase()); in VisitExtVectorElementExpr()
1040 Record.AddIdentifierRef(&E->getAccessor()); in VisitExtVectorElementExpr()
1041 Record.AddSourceLocation(E->getAccessorLoc()); in VisitExtVectorElementExpr()
1049 Record.AddStmt(E->getSyntacticForm()); in VisitInitListExpr()
1050 Record.AddSourceLocation(E->getLBraceLoc()); in VisitInitListExpr()
1051 Record.AddSourceLocation(E->getRBraceLoc()); in VisitInitListExpr()
1053 Record.push_back(isArrayFiller); in VisitInitListExpr()
1055 Record.AddStmt(E->getArrayFiller()); in VisitInitListExpr()
1057 Record.AddDeclRef(E->getInitializedFieldInUnion()); in VisitInitListExpr()
1058 Record.push_back(E->hadArrayRangeDesignator()); in VisitInitListExpr()
1059 Record.push_back(E->getNumInits()); in VisitInitListExpr()
1065 Record.AddStmt(E->getInit(I) != filler ? E->getInit(I) : nullptr); in VisitInitListExpr()
1068 Record.AddStmt(E->getInit(I)); in VisitInitListExpr()
1075 Record.push_back(E->getNumSubExprs()); in VisitDesignatedInitExpr()
1077 Record.AddStmt(E->getSubExpr(I)); in VisitDesignatedInitExpr()
1078 Record.AddSourceLocation(E->getEqualOrColonLoc()); in VisitDesignatedInitExpr()
1079 Record.push_back(E->usesGNUSyntax()); in VisitDesignatedInitExpr()
1083 Record.push_back(serialization::DESIG_FIELD_DECL); in VisitDesignatedInitExpr()
1084 Record.AddDeclRef(Field); in VisitDesignatedInitExpr()
1086 Record.push_back(serialization::DESIG_FIELD_NAME); in VisitDesignatedInitExpr()
1087 Record.AddIdentifierRef(D.getFieldName()); in VisitDesignatedInitExpr()
1089 Record.AddSourceLocation(D.getDotLoc()); in VisitDesignatedInitExpr()
1090 Record.AddSourceLocation(D.getFieldLoc()); in VisitDesignatedInitExpr()
1092 Record.push_back(serialization::DESIG_ARRAY); in VisitDesignatedInitExpr()
1093 Record.push_back(D.getFirstExprIndex()); in VisitDesignatedInitExpr()
1094 Record.AddSourceLocation(D.getLBracketLoc()); in VisitDesignatedInitExpr()
1095 Record.AddSourceLocation(D.getRBracketLoc()); in VisitDesignatedInitExpr()
1098 Record.push_back(serialization::DESIG_ARRAY_RANGE); in VisitDesignatedInitExpr()
1099 Record.push_back(D.getFirstExprIndex()); in VisitDesignatedInitExpr()
1100 Record.AddSourceLocation(D.getLBracketLoc()); in VisitDesignatedInitExpr()
1101 Record.AddSourceLocation(D.getEllipsisLoc()); in VisitDesignatedInitExpr()
1102 Record.AddSourceLocation(D.getRBracketLoc()); in VisitDesignatedInitExpr()
1110 Record.AddStmt(E->getBase()); in VisitDesignatedInitUpdateExpr()
1111 Record.AddStmt(E->getUpdater()); in VisitDesignatedInitUpdateExpr()
1122 Record.AddStmt(E->SubExprs[0]); in VisitArrayInitLoopExpr()
1123 Record.AddStmt(E->SubExprs[1]); in VisitArrayInitLoopExpr()
1139 Record.AddStmt(E->getSubExpr()); in VisitVAArgExpr()
1140 Record.AddTypeSourceInfo(E->getWrittenTypeInfo()); in VisitVAArgExpr()
1141 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitVAArgExpr()
1142 Record.AddSourceLocation(E->getRParenLoc()); in VisitVAArgExpr()
1143 Record.push_back(E->isMicrosoftABI()); in VisitVAArgExpr()
1149 Record.AddDeclRef(cast_or_null<Decl>(E->getParentContext())); in VisitSourceLocExpr()
1150 Record.AddSourceLocation(E->getBeginLoc()); in VisitSourceLocExpr()
1151 Record.AddSourceLocation(E->getEndLoc()); in VisitSourceLocExpr()
1152 Record.push_back(E->getIdentKind()); in VisitSourceLocExpr()
1158 Record.AddSourceLocation(E->getAmpAmpLoc()); in VisitAddrLabelExpr()
1159 Record.AddSourceLocation(E->getLabelLoc()); in VisitAddrLabelExpr()
1160 Record.AddDeclRef(E->getLabel()); in VisitAddrLabelExpr()
1166 Record.AddStmt(E->getSubStmt()); in VisitStmtExpr()
1167 Record.AddSourceLocation(E->getLParenLoc()); in VisitStmtExpr()
1168 Record.AddSourceLocation(E->getRParenLoc()); in VisitStmtExpr()
1169 Record.push_back(E->getTemplateDepth()); in VisitStmtExpr()
1175 Record.AddStmt(E->getCond()); in VisitChooseExpr()
1176 Record.AddStmt(E->getLHS()); in VisitChooseExpr()
1177 Record.AddStmt(E->getRHS()); in VisitChooseExpr()
1178 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitChooseExpr()
1179 Record.AddSourceLocation(E->getRParenLoc()); in VisitChooseExpr()
1180 Record.push_back(E->isConditionDependent() ? false : E->isConditionTrue()); in VisitChooseExpr()
1186 Record.AddSourceLocation(E->getTokenLocation()); in VisitGNUNullExpr()
1192 Record.push_back(E->getNumSubExprs()); in VisitShuffleVectorExpr()
1194 Record.AddStmt(E->getExpr(I)); in VisitShuffleVectorExpr()
1195 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitShuffleVectorExpr()
1196 Record.AddSourceLocation(E->getRParenLoc()); in VisitShuffleVectorExpr()
1202 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitConvertVectorExpr()
1203 Record.AddSourceLocation(E->getRParenLoc()); in VisitConvertVectorExpr()
1204 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitConvertVectorExpr()
1205 Record.AddStmt(E->getSrcExpr()); in VisitConvertVectorExpr()
1211 Record.AddDeclRef(E->getBlockDecl()); in VisitBlockExpr()
1218 Record.push_back(E->getNumAssocs()); in VisitGenericSelectionExpr()
1219 Record.push_back(E->ResultIndex); in VisitGenericSelectionExpr()
1220 Record.AddSourceLocation(E->getGenericLoc()); in VisitGenericSelectionExpr()
1221 Record.AddSourceLocation(E->getDefaultLoc()); in VisitGenericSelectionExpr()
1222 Record.AddSourceLocation(E->getRParenLoc()); in VisitGenericSelectionExpr()
1229 Record.AddStmt(Stmts[I]); in VisitGenericSelectionExpr()
1233 Record.AddTypeSourceInfo(TSIs[I]); in VisitGenericSelectionExpr()
1240 Record.push_back(E->getNumSemanticExprs()); in VisitPseudoObjectExpr()
1246 Record.push_back(result); in VisitPseudoObjectExpr()
1248 Record.AddStmt(E->getSyntacticForm()); in VisitPseudoObjectExpr()
1251 Record.AddStmt(*i); in VisitPseudoObjectExpr()
1258 Record.push_back(E->getOp()); in VisitAtomicExpr()
1260 Record.AddStmt(E->getSubExprs()[I]); in VisitAtomicExpr()
1261 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitAtomicExpr()
1262 Record.AddSourceLocation(E->getRParenLoc()); in VisitAtomicExpr()
1272 Record.AddStmt(E->getString()); in VisitObjCStringLiteral()
1273 Record.AddSourceLocation(E->getAtLoc()); in VisitObjCStringLiteral()
1279 Record.AddStmt(E->getSubExpr()); in VisitObjCBoxedExpr()
1280 Record.AddDeclRef(E->getBoxingMethod()); in VisitObjCBoxedExpr()
1281 Record.AddSourceRange(E->getSourceRange()); in VisitObjCBoxedExpr()
1287 Record.push_back(E->getNumElements()); in VisitObjCArrayLiteral()
1289 Record.AddStmt(E->getElement(i)); in VisitObjCArrayLiteral()
1290 Record.AddDeclRef(E->getArrayWithObjectsMethod()); in VisitObjCArrayLiteral()
1291 Record.AddSourceRange(E->getSourceRange()); in VisitObjCArrayLiteral()
1297 Record.push_back(E->getNumElements()); in VisitObjCDictionaryLiteral()
1298 Record.push_back(E->HasPackExpansions); in VisitObjCDictionaryLiteral()
1301 Record.AddStmt(Element.Key); in VisitObjCDictionaryLiteral()
1302 Record.AddStmt(Element.Value); in VisitObjCDictionaryLiteral()
1304 Record.AddSourceLocation(Element.EllipsisLoc); in VisitObjCDictionaryLiteral()
1308 Record.push_back(NumExpansions); in VisitObjCDictionaryLiteral()
1312 Record.AddDeclRef(E->getDictWithObjectsMethod()); in VisitObjCDictionaryLiteral()
1313 Record.AddSourceRange(E->getSourceRange()); in VisitObjCDictionaryLiteral()
1319 Record.AddTypeSourceInfo(E->getEncodedTypeSourceInfo()); in VisitObjCEncodeExpr()
1320 Record.AddSourceLocation(E->getAtLoc()); in VisitObjCEncodeExpr()
1321 Record.AddSourceLocation(E->getRParenLoc()); in VisitObjCEncodeExpr()
1327 Record.AddSelectorRef(E->getSelector()); in VisitObjCSelectorExpr()
1328 Record.AddSourceLocation(E->getAtLoc()); in VisitObjCSelectorExpr()
1329 Record.AddSourceLocation(E->getRParenLoc()); in VisitObjCSelectorExpr()
1335 Record.AddDeclRef(E->getProtocol()); in VisitObjCProtocolExpr()
1336 Record.AddSourceLocation(E->getAtLoc()); in VisitObjCProtocolExpr()
1337 Record.AddSourceLocation(E->ProtoLoc); in VisitObjCProtocolExpr()
1338 Record.AddSourceLocation(E->getRParenLoc()); in VisitObjCProtocolExpr()
1344 Record.AddDeclRef(E->getDecl()); in VisitObjCIvarRefExpr()
1345 Record.AddSourceLocation(E->getLocation()); in VisitObjCIvarRefExpr()
1346 Record.AddSourceLocation(E->getOpLoc()); in VisitObjCIvarRefExpr()
1347 Record.AddStmt(E->getBase()); in VisitObjCIvarRefExpr()
1348 Record.push_back(E->isArrow()); in VisitObjCIvarRefExpr()
1349 Record.push_back(E->isFreeIvar()); in VisitObjCIvarRefExpr()
1355 Record.push_back(E->SetterAndMethodRefFlags.getInt()); in VisitObjCPropertyRefExpr()
1356 Record.push_back(E->isImplicitProperty()); in VisitObjCPropertyRefExpr()
1358 Record.AddDeclRef(E->getImplicitPropertyGetter()); in VisitObjCPropertyRefExpr()
1359 Record.AddDeclRef(E->getImplicitPropertySetter()); in VisitObjCPropertyRefExpr()
1361 Record.AddDeclRef(E->getExplicitProperty()); in VisitObjCPropertyRefExpr()
1363 Record.AddSourceLocation(E->getLocation()); in VisitObjCPropertyRefExpr()
1364 Record.AddSourceLocation(E->getReceiverLocation()); in VisitObjCPropertyRefExpr()
1366 Record.push_back(0); in VisitObjCPropertyRefExpr()
1367 Record.AddStmt(E->getBase()); in VisitObjCPropertyRefExpr()
1369 Record.push_back(1); in VisitObjCPropertyRefExpr()
1370 Record.AddTypeRef(E->getSuperReceiverType()); in VisitObjCPropertyRefExpr()
1372 Record.push_back(2); in VisitObjCPropertyRefExpr()
1373 Record.AddDeclRef(E->getClassReceiver()); in VisitObjCPropertyRefExpr()
1381 Record.AddSourceLocation(E->getRBracket()); in VisitObjCSubscriptRefExpr()
1382 Record.AddStmt(E->getBaseExpr()); in VisitObjCSubscriptRefExpr()
1383 Record.AddStmt(E->getKeyExpr()); in VisitObjCSubscriptRefExpr()
1384 Record.AddDeclRef(E->getAtIndexMethodDecl()); in VisitObjCSubscriptRefExpr()
1385 Record.AddDeclRef(E->setAtIndexMethodDecl()); in VisitObjCSubscriptRefExpr()
1392 Record.push_back(E->getNumArgs()); in VisitObjCMessageExpr()
1393 Record.push_back(E->getNumStoredSelLocs()); in VisitObjCMessageExpr()
1394 Record.push_back(E->SelLocsKind); in VisitObjCMessageExpr()
1395 Record.push_back(E->isDelegateInitCall()); in VisitObjCMessageExpr()
1396 Record.push_back(E->IsImplicit); in VisitObjCMessageExpr()
1397 Record.push_back((unsigned)E->getReceiverKind()); // FIXME: stable encoding in VisitObjCMessageExpr()
1400 Record.AddStmt(E->getInstanceReceiver()); in VisitObjCMessageExpr()
1404 Record.AddTypeSourceInfo(E->getClassReceiverTypeInfo()); in VisitObjCMessageExpr()
1409 Record.AddTypeRef(E->getSuperType()); in VisitObjCMessageExpr()
1410 Record.AddSourceLocation(E->getSuperLoc()); in VisitObjCMessageExpr()
1415 Record.push_back(1); in VisitObjCMessageExpr()
1416 Record.AddDeclRef(E->getMethodDecl()); in VisitObjCMessageExpr()
1418 Record.push_back(0); in VisitObjCMessageExpr()
1419 Record.AddSelectorRef(E->getSelector()); in VisitObjCMessageExpr()
1422 Record.AddSourceLocation(E->getLeftLoc()); in VisitObjCMessageExpr()
1423 Record.AddSourceLocation(E->getRightLoc()); in VisitObjCMessageExpr()
1427 Record.AddStmt(*Arg); in VisitObjCMessageExpr()
1431 Record.AddSourceLocation(Locs[i]); in VisitObjCMessageExpr()
1438 Record.AddStmt(S->getElement()); in VisitObjCForCollectionStmt()
1439 Record.AddStmt(S->getCollection()); in VisitObjCForCollectionStmt()
1440 Record.AddStmt(S->getBody()); in VisitObjCForCollectionStmt()
1441 Record.AddSourceLocation(S->getForLoc()); in VisitObjCForCollectionStmt()
1442 Record.AddSourceLocation(S->getRParenLoc()); in VisitObjCForCollectionStmt()
1448 Record.AddStmt(S->getCatchBody()); in VisitObjCAtCatchStmt()
1449 Record.AddDeclRef(S->getCatchParamDecl()); in VisitObjCAtCatchStmt()
1450 Record.AddSourceLocation(S->getAtCatchLoc()); in VisitObjCAtCatchStmt()
1451 Record.AddSourceLocation(S->getRParenLoc()); in VisitObjCAtCatchStmt()
1457 Record.AddStmt(S->getFinallyBody()); in VisitObjCAtFinallyStmt()
1458 Record.AddSourceLocation(S->getAtFinallyLoc()); in VisitObjCAtFinallyStmt()
1464 Record.AddStmt(S->getSubStmt()); in VisitObjCAutoreleasePoolStmt()
1465 Record.AddSourceLocation(S->getAtLoc()); in VisitObjCAutoreleasePoolStmt()
1471 Record.push_back(S->getNumCatchStmts()); in VisitObjCAtTryStmt()
1472 Record.push_back(S->getFinallyStmt() != nullptr); in VisitObjCAtTryStmt()
1473 Record.AddStmt(S->getTryBody()); in VisitObjCAtTryStmt()
1475 Record.AddStmt(S->getCatchStmt(I)); in VisitObjCAtTryStmt()
1477 Record.AddStmt(S->getFinallyStmt()); in VisitObjCAtTryStmt()
1478 Record.AddSourceLocation(S->getAtTryLoc()); in VisitObjCAtTryStmt()
1484 Record.AddStmt(S->getSynchExpr()); in VisitObjCAtSynchronizedStmt()
1485 Record.AddStmt(S->getSynchBody()); in VisitObjCAtSynchronizedStmt()
1486 Record.AddSourceLocation(S->getAtSynchronizedLoc()); in VisitObjCAtSynchronizedStmt()
1492 Record.AddStmt(S->getThrowExpr()); in VisitObjCAtThrowStmt()
1493 Record.AddSourceLocation(S->getThrowLoc()); in VisitObjCAtThrowStmt()
1499 Record.push_back(E->getValue()); in VisitObjCBoolLiteralExpr()
1500 Record.AddSourceLocation(E->getLocation()); in VisitObjCBoolLiteralExpr()
1506 Record.AddSourceRange(E->getSourceRange()); in VisitObjCAvailabilityCheckExpr()
1507 Record.AddVersionTuple(E->getVersion()); in VisitObjCAvailabilityCheckExpr()
1517 Record.AddSourceLocation(S->getCatchLoc()); in VisitCXXCatchStmt()
1518 Record.AddDeclRef(S->getExceptionDecl()); in VisitCXXCatchStmt()
1519 Record.AddStmt(S->getHandlerBlock()); in VisitCXXCatchStmt()
1525 Record.push_back(S->getNumHandlers()); in VisitCXXTryStmt()
1526 Record.AddSourceLocation(S->getTryLoc()); in VisitCXXTryStmt()
1527 Record.AddStmt(S->getTryBlock()); in VisitCXXTryStmt()
1529 Record.AddStmt(S->getHandler(i)); in VisitCXXTryStmt()
1535 Record.AddSourceLocation(S->getForLoc()); in VisitCXXForRangeStmt()
1536 Record.AddSourceLocation(S->getCoawaitLoc()); in VisitCXXForRangeStmt()
1537 Record.AddSourceLocation(S->getColonLoc()); in VisitCXXForRangeStmt()
1538 Record.AddSourceLocation(S->getRParenLoc()); in VisitCXXForRangeStmt()
1539 Record.AddStmt(S->getInit()); in VisitCXXForRangeStmt()
1540 Record.AddStmt(S->getRangeStmt()); in VisitCXXForRangeStmt()
1541 Record.AddStmt(S->getBeginStmt()); in VisitCXXForRangeStmt()
1542 Record.AddStmt(S->getEndStmt()); in VisitCXXForRangeStmt()
1543 Record.AddStmt(S->getCond()); in VisitCXXForRangeStmt()
1544 Record.AddStmt(S->getInc()); in VisitCXXForRangeStmt()
1545 Record.AddStmt(S->getLoopVarStmt()); in VisitCXXForRangeStmt()
1546 Record.AddStmt(S->getBody()); in VisitCXXForRangeStmt()
1552 Record.AddSourceLocation(S->getKeywordLoc()); in VisitMSDependentExistsStmt()
1553 Record.push_back(S->isIfExists()); in VisitMSDependentExistsStmt()
1554 Record.AddNestedNameSpecifierLoc(S->getQualifierLoc()); in VisitMSDependentExistsStmt()
1555 Record.AddDeclarationNameInfo(S->getNameInfo()); in VisitMSDependentExistsStmt()
1556 Record.AddStmt(S->getSubStmt()); in VisitMSDependentExistsStmt()
1562 Record.push_back(E->getOperator()); in VisitCXXOperatorCallExpr()
1563 Record.AddSourceRange(E->Range); in VisitCXXOperatorCallExpr()
1575 Record.push_back(E->isReversed()); in VisitCXXRewrittenBinaryOperator()
1576 Record.AddStmt(E->getSemanticForm()); in VisitCXXRewrittenBinaryOperator()
1583 Record.push_back(E->getNumArgs()); in VisitCXXConstructExpr()
1584 Record.push_back(E->isElidable()); in VisitCXXConstructExpr()
1585 Record.push_back(E->hadMultipleCandidates()); in VisitCXXConstructExpr()
1586 Record.push_back(E->isListInitialization()); in VisitCXXConstructExpr()
1587 Record.push_back(E->isStdInitListInitialization()); in VisitCXXConstructExpr()
1588 Record.push_back(E->requiresZeroInitialization()); in VisitCXXConstructExpr()
1589 Record.push_back(E->getConstructionKind()); // FIXME: stable encoding in VisitCXXConstructExpr()
1590 Record.AddSourceLocation(E->getLocation()); in VisitCXXConstructExpr()
1591 Record.AddDeclRef(E->getConstructor()); in VisitCXXConstructExpr()
1592 Record.AddSourceRange(E->getParenOrBraceRange()); in VisitCXXConstructExpr()
1595 Record.AddStmt(E->getArg(I)); in VisitCXXConstructExpr()
1602 Record.AddDeclRef(E->getConstructor()); in VisitCXXInheritedCtorInitExpr()
1603 Record.AddSourceLocation(E->getLocation()); in VisitCXXInheritedCtorInitExpr()
1604 Record.push_back(E->constructsVBase()); in VisitCXXInheritedCtorInitExpr()
1605 Record.push_back(E->inheritedFromVBase()); in VisitCXXInheritedCtorInitExpr()
1611 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXTemporaryObjectExpr()
1617 Record.push_back(E->LambdaExprBits.NumCaptures); in VisitLambdaExpr()
1618 Record.AddSourceRange(E->IntroducerRange); in VisitLambdaExpr()
1619 Record.push_back(E->LambdaExprBits.CaptureDefault); // FIXME: stable encoding in VisitLambdaExpr()
1620 Record.AddSourceLocation(E->CaptureDefaultLoc); in VisitLambdaExpr()
1621 Record.push_back(E->LambdaExprBits.ExplicitParams); in VisitLambdaExpr()
1622 Record.push_back(E->LambdaExprBits.ExplicitResultType); in VisitLambdaExpr()
1623 Record.AddSourceLocation(E->ClosingBrace); in VisitLambdaExpr()
1629 Record.AddStmt(*C); in VisitLambdaExpr()
1640 Record.AddStmt(E->getSubExpr()); in VisitCXXStdInitializerListExpr()
1646 Record.AddSourceRange(SourceRange(E->getOperatorLoc(), E->getRParenLoc())); in VisitCXXNamedCastExpr()
1647 Record.AddSourceRange(E->getAngleBrackets()); in VisitCXXNamedCastExpr()
1677 Record.AddSourceLocation(E->getLParenLoc()); in VisitCXXFunctionalCastExpr()
1678 Record.AddSourceLocation(E->getRParenLoc()); in VisitCXXFunctionalCastExpr()
1684 Record.AddSourceLocation(E->getBeginLoc()); in VisitBuiltinBitCastExpr()
1685 Record.AddSourceLocation(E->getEndLoc()); in VisitBuiltinBitCastExpr()
1691 Record.AddSourceLocation(E->UDSuffixLoc); in VisitUserDefinedLiteral()
1697 Record.push_back(E->getValue()); in VisitCXXBoolLiteralExpr()
1698 Record.AddSourceLocation(E->getLocation()); in VisitCXXBoolLiteralExpr()
1704 Record.AddSourceLocation(E->getLocation()); in VisitCXXNullPtrLiteralExpr()
1710 Record.AddSourceRange(E->getSourceRange()); in VisitCXXTypeidExpr()
1712 Record.AddTypeSourceInfo(E->getTypeOperandSourceInfo()); in VisitCXXTypeidExpr()
1715 Record.AddStmt(E->getExprOperand()); in VisitCXXTypeidExpr()
1722 Record.AddSourceLocation(E->getLocation()); in VisitCXXThisExpr()
1723 Record.push_back(E->isImplicit()); in VisitCXXThisExpr()
1729 Record.AddSourceLocation(E->getThrowLoc()); in VisitCXXThrowExpr()
1730 Record.AddStmt(E->getSubExpr()); in VisitCXXThrowExpr()
1731 Record.push_back(E->isThrownVariableInScope()); in VisitCXXThrowExpr()
1737 Record.AddDeclRef(E->getParam()); in VisitCXXDefaultArgExpr()
1738 Record.AddDeclRef(cast_or_null<Decl>(E->getUsedContext())); in VisitCXXDefaultArgExpr()
1739 Record.AddSourceLocation(E->getUsedLocation()); in VisitCXXDefaultArgExpr()
1745 Record.AddDeclRef(E->getField()); in VisitCXXDefaultInitExpr()
1746 Record.AddDeclRef(cast_or_null<Decl>(E->getUsedContext())); in VisitCXXDefaultInitExpr()
1747 Record.AddSourceLocation(E->getExprLoc()); in VisitCXXDefaultInitExpr()
1753 Record.AddCXXTemporary(E->getTemporary()); in VisitCXXBindTemporaryExpr()
1754 Record.AddStmt(E->getSubExpr()); in VisitCXXBindTemporaryExpr()
1760 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXScalarValueInitExpr()
1761 Record.AddSourceLocation(E->getRParenLoc()); in VisitCXXScalarValueInitExpr()
1768 Record.push_back(E->isArray()); in VisitCXXNewExpr()
1769 Record.push_back(E->hasInitializer()); in VisitCXXNewExpr()
1770 Record.push_back(E->getNumPlacementArgs()); in VisitCXXNewExpr()
1771 Record.push_back(E->isParenTypeId()); in VisitCXXNewExpr()
1773 Record.push_back(E->isGlobalNew()); in VisitCXXNewExpr()
1774 Record.push_back(E->passAlignment()); in VisitCXXNewExpr()
1775 Record.push_back(E->doesUsualArrayDeleteWantSize()); in VisitCXXNewExpr()
1776 Record.push_back(E->CXXNewExprBits.StoredInitializationStyle); in VisitCXXNewExpr()
1778 Record.AddDeclRef(E->getOperatorNew()); in VisitCXXNewExpr()
1779 Record.AddDeclRef(E->getOperatorDelete()); in VisitCXXNewExpr()
1780 Record.AddTypeSourceInfo(E->getAllocatedTypeSourceInfo()); in VisitCXXNewExpr()
1782 Record.AddSourceRange(E->getTypeIdParens()); in VisitCXXNewExpr()
1783 Record.AddSourceRange(E->getSourceRange()); in VisitCXXNewExpr()
1784 Record.AddSourceRange(E->getDirectInitRange()); in VisitCXXNewExpr()
1788 Record.AddStmt(*I); in VisitCXXNewExpr()
1795 Record.push_back(E->isGlobalDelete()); in VisitCXXDeleteExpr()
1796 Record.push_back(E->isArrayForm()); in VisitCXXDeleteExpr()
1797 Record.push_back(E->isArrayFormAsWritten()); in VisitCXXDeleteExpr()
1798 Record.push_back(E->doesUsualArrayDeleteWantSize()); in VisitCXXDeleteExpr()
1799 Record.AddDeclRef(E->getOperatorDelete()); in VisitCXXDeleteExpr()
1800 Record.AddStmt(E->getArgument()); in VisitCXXDeleteExpr()
1801 Record.AddSourceLocation(E->getBeginLoc()); in VisitCXXDeleteExpr()
1809 Record.AddStmt(E->getBase()); in VisitCXXPseudoDestructorExpr()
1810 Record.push_back(E->isArrow()); in VisitCXXPseudoDestructorExpr()
1811 Record.AddSourceLocation(E->getOperatorLoc()); in VisitCXXPseudoDestructorExpr()
1812 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitCXXPseudoDestructorExpr()
1813 Record.AddTypeSourceInfo(E->getScopeTypeInfo()); in VisitCXXPseudoDestructorExpr()
1814 Record.AddSourceLocation(E->getColonColonLoc()); in VisitCXXPseudoDestructorExpr()
1815 Record.AddSourceLocation(E->getTildeLoc()); in VisitCXXPseudoDestructorExpr()
1818 Record.AddIdentifierRef(E->getDestroyedTypeIdentifier()); in VisitCXXPseudoDestructorExpr()
1820 Record.AddSourceLocation(E->getDestroyedTypeLoc()); in VisitCXXPseudoDestructorExpr()
1822 Record.AddTypeSourceInfo(E->getDestroyedTypeInfo()); in VisitCXXPseudoDestructorExpr()
1829 Record.push_back(E->getNumObjects()); in VisitExprWithCleanups()
1832 Record.push_back(serialization::COK_Block); in VisitExprWithCleanups()
1833 Record.AddDeclRef(BD); in VisitExprWithCleanups()
1835 Record.push_back(serialization::COK_CompoundLiteral); in VisitExprWithCleanups()
1836 Record.AddStmt(CLE); in VisitExprWithCleanups()
1840 Record.push_back(E->cleanupsHaveSideEffects()); in VisitExprWithCleanups()
1841 Record.AddStmt(E->getSubExpr()); in VisitExprWithCleanups()
1852 Record.push_back(E->hasTemplateKWAndArgsInfo()); in VisitCXXDependentScopeMemberExpr()
1853 Record.push_back(E->getNumTemplateArgs()); in VisitCXXDependentScopeMemberExpr()
1854 Record.push_back(E->hasFirstQualifierFoundInScope()); in VisitCXXDependentScopeMemberExpr()
1863 Record.push_back(E->isArrow()); in VisitCXXDependentScopeMemberExpr()
1864 Record.AddSourceLocation(E->getOperatorLoc()); in VisitCXXDependentScopeMemberExpr()
1865 Record.AddTypeRef(E->getBaseType()); in VisitCXXDependentScopeMemberExpr()
1866 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitCXXDependentScopeMemberExpr()
1868 Record.AddStmt(E->getBase()); in VisitCXXDependentScopeMemberExpr()
1870 Record.AddStmt(nullptr); in VisitCXXDependentScopeMemberExpr()
1873 Record.AddDeclRef(E->getFirstQualifierFoundInScope()); in VisitCXXDependentScopeMemberExpr()
1875 Record.AddDeclarationNameInfo(E->MemberNameInfo); in VisitCXXDependentScopeMemberExpr()
1886 Record.push_back(E->DependentScopeDeclRefExprBits.HasTemplateKWAndArgsInfo); in VisitDependentScopeDeclRefExpr()
1890 Record.push_back(ArgInfo.NumTemplateArgs); in VisitDependentScopeDeclRefExpr()
1895 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitDependentScopeDeclRefExpr()
1896 Record.AddDeclarationNameInfo(E->NameInfo); in VisitDependentScopeDeclRefExpr()
1903 Record.push_back(E->getNumArgs()); in VisitCXXUnresolvedConstructExpr()
1906 Record.AddStmt(*ArgI); in VisitCXXUnresolvedConstructExpr()
1907 Record.AddTypeSourceInfo(E->getTypeSourceInfo()); in VisitCXXUnresolvedConstructExpr()
1908 Record.AddSourceLocation(E->getLParenLoc()); in VisitCXXUnresolvedConstructExpr()
1909 Record.AddSourceLocation(E->getRParenLoc()); in VisitCXXUnresolvedConstructExpr()
1916 Record.push_back(E->getNumDecls()); in VisitOverloadExpr()
1917 Record.push_back(E->hasTemplateKWAndArgsInfo()); in VisitOverloadExpr()
1921 Record.push_back(ArgInfo.NumTemplateArgs); in VisitOverloadExpr()
1928 Record.AddDeclRef(OvI.getDecl()); in VisitOverloadExpr()
1929 Record.push_back(OvI.getAccess()); in VisitOverloadExpr()
1932 Record.AddDeclarationNameInfo(E->getNameInfo()); in VisitOverloadExpr()
1933 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitOverloadExpr()
1938 Record.push_back(E->isArrow()); in VisitUnresolvedMemberExpr()
1939 Record.push_back(E->hasUnresolvedUsing()); in VisitUnresolvedMemberExpr()
1940 Record.AddStmt(!E->isImplicitAccess() ? E->getBase() : nullptr); in VisitUnresolvedMemberExpr()
1941 Record.AddTypeRef(E->getBaseType()); in VisitUnresolvedMemberExpr()
1942 Record.AddSourceLocation(E->getOperatorLoc()); in VisitUnresolvedMemberExpr()
1948 Record.push_back(E->requiresADL()); in VisitUnresolvedLookupExpr()
1949 Record.push_back(E->isOverloaded()); in VisitUnresolvedLookupExpr()
1950 Record.AddDeclRef(E->getNamingClass()); in VisitUnresolvedLookupExpr()
1956 Record.push_back(E->TypeTraitExprBits.NumArgs); in VisitTypeTraitExpr()
1957 Record.push_back(E->TypeTraitExprBits.Kind); // FIXME: Stable encoding in VisitTypeTraitExpr()
1958 Record.push_back(E->TypeTraitExprBits.Value); in VisitTypeTraitExpr()
1959 Record.AddSourceRange(E->getSourceRange()); in VisitTypeTraitExpr()
1961 Record.AddTypeSourceInfo(E->getArg(I)); in VisitTypeTraitExpr()
1967 Record.push_back(E->getTrait()); in VisitArrayTypeTraitExpr()
1968 Record.push_back(E->getValue()); in VisitArrayTypeTraitExpr()
1969 Record.AddSourceRange(E->getSourceRange()); in VisitArrayTypeTraitExpr()
1970 Record.AddTypeSourceInfo(E->getQueriedTypeSourceInfo()); in VisitArrayTypeTraitExpr()
1971 Record.AddStmt(E->getDimensionExpression()); in VisitArrayTypeTraitExpr()
1977 Record.push_back(E->getTrait()); in VisitExpressionTraitExpr()
1978 Record.push_back(E->getValue()); in VisitExpressionTraitExpr()
1979 Record.AddSourceRange(E->getSourceRange()); in VisitExpressionTraitExpr()
1980 Record.AddStmt(E->getQueriedExpression()); in VisitExpressionTraitExpr()
1986 Record.push_back(E->getValue()); in VisitCXXNoexceptExpr()
1987 Record.AddSourceRange(E->getSourceRange()); in VisitCXXNoexceptExpr()
1988 Record.AddStmt(E->getOperand()); in VisitCXXNoexceptExpr()
1994 Record.AddSourceLocation(E->getEllipsisLoc()); in VisitPackExpansionExpr()
1995 Record.push_back(E->NumExpansions); in VisitPackExpansionExpr()
1996 Record.AddStmt(E->getPattern()); in VisitPackExpansionExpr()
2002 Record.push_back(E->isPartiallySubstituted() ? E->getPartialArguments().size() in VisitSizeOfPackExpr()
2004 Record.AddSourceLocation(E->OperatorLoc); in VisitSizeOfPackExpr()
2005 Record.AddSourceLocation(E->PackLoc); in VisitSizeOfPackExpr()
2006 Record.AddSourceLocation(E->RParenLoc); in VisitSizeOfPackExpr()
2007 Record.AddDeclRef(E->Pack); in VisitSizeOfPackExpr()
2010 Record.AddTemplateArgument(TA); in VisitSizeOfPackExpr()
2012 Record.push_back(E->getPackLength()); in VisitSizeOfPackExpr()
2020 Record.AddDeclRef(E->getParameter()); in VisitSubstNonTypeTemplateParmExpr()
2021 Record.push_back(E->isReferenceParameter()); in VisitSubstNonTypeTemplateParmExpr()
2022 Record.AddSourceLocation(E->getNameLoc()); in VisitSubstNonTypeTemplateParmExpr()
2023 Record.AddStmt(E->getReplacement()); in VisitSubstNonTypeTemplateParmExpr()
2030 Record.AddDeclRef(E->getParameterPack()); in VisitSubstNonTypeTemplateParmPackExpr()
2031 Record.AddTemplateArgument(E->getArgumentPack()); in VisitSubstNonTypeTemplateParmPackExpr()
2032 Record.AddSourceLocation(E->getParameterPackLocation()); in VisitSubstNonTypeTemplateParmPackExpr()
2038 Record.push_back(E->getNumExpansions()); in VisitFunctionParmPackExpr()
2039 Record.AddDeclRef(E->getParameterPack()); in VisitFunctionParmPackExpr()
2040 Record.AddSourceLocation(E->getParameterPackLocation()); in VisitFunctionParmPackExpr()
2043 Record.AddDeclRef(*I); in VisitFunctionParmPackExpr()
2049 Record.push_back(static_cast<bool>(E->getLifetimeExtendedTemporaryDecl())); in VisitMaterializeTemporaryExpr()
2051 Record.AddDeclRef(E->getLifetimeExtendedTemporaryDecl()); in VisitMaterializeTemporaryExpr()
2053 Record.AddStmt(E->getSubExpr()); in VisitMaterializeTemporaryExpr()
2059 Record.AddSourceLocation(E->LParenLoc); in VisitCXXFoldExpr()
2060 Record.AddSourceLocation(E->EllipsisLoc); in VisitCXXFoldExpr()
2061 Record.AddSourceLocation(E->RParenLoc); in VisitCXXFoldExpr()
2062 Record.push_back(E->NumExpansions); in VisitCXXFoldExpr()
2063 Record.AddStmt(E->SubExprs[0]); in VisitCXXFoldExpr()
2064 Record.AddStmt(E->SubExprs[1]); in VisitCXXFoldExpr()
2065 Record.AddStmt(E->SubExprs[2]); in VisitCXXFoldExpr()
2066 Record.push_back(E->Opcode); in VisitCXXFoldExpr()
2072 Record.AddStmt(E->getSourceExpr()); in VisitOpaqueValueExpr()
2073 Record.AddSourceLocation(E->getLocation()); in VisitOpaqueValueExpr()
2074 Record.push_back(E->isUnique()); in VisitOpaqueValueExpr()
2090 Record.AddStmt(E->getConfig()); in VisitCUDAKernelCallExpr()
2099 Record.AddSourceLocation(E->getBuiltinLoc()); in VisitAsTypeExpr()
2100 Record.AddSourceLocation(E->getRParenLoc()); in VisitAsTypeExpr()
2101 Record.AddStmt(E->getSrcExpr()); in VisitAsTypeExpr()
2110 Record.push_back(E->isArrow()); in VisitMSPropertyRefExpr()
2111 Record.AddStmt(E->getBaseExpr()); in VisitMSPropertyRefExpr()
2112 Record.AddNestedNameSpecifierLoc(E->getQualifierLoc()); in VisitMSPropertyRefExpr()
2113 Record.AddSourceLocation(E->getMemberLoc()); in VisitMSPropertyRefExpr()
2114 Record.AddDeclRef(E->getPropertyDecl()); in VisitMSPropertyRefExpr()
2120 Record.AddStmt(E->getBase()); in VisitMSPropertySubscriptExpr()
2121 Record.AddStmt(E->getIdx()); in VisitMSPropertySubscriptExpr()
2122 Record.AddSourceLocation(E->getRBracketLoc()); in VisitMSPropertySubscriptExpr()
2128 Record.AddSourceRange(E->getSourceRange()); in VisitCXXUuidofExpr()
2129 Record.AddDeclRef(E->getGuidDecl()); in VisitCXXUuidofExpr()
2131 Record.AddTypeSourceInfo(E->getTypeOperandSourceInfo()); in VisitCXXUuidofExpr()
2134 Record.AddStmt(E->getExprOperand()); in VisitCXXUuidofExpr()
2141 Record.AddSourceLocation(S->getExceptLoc()); in VisitSEHExceptStmt()
2142 Record.AddStmt(S->getFilterExpr()); in VisitSEHExceptStmt()
2143 Record.AddStmt(S->getBlock()); in VisitSEHExceptStmt()
2149 Record.AddSourceLocation(S->getFinallyLoc()); in VisitSEHFinallyStmt()
2150 Record.AddStmt(S->getBlock()); in VisitSEHFinallyStmt()
2156 Record.push_back(S->getIsCXXTry()); in VisitSEHTryStmt()
2157 Record.AddSourceLocation(S->getTryLoc()); in VisitSEHTryStmt()
2158 Record.AddStmt(S->getTryBlock()); in VisitSEHTryStmt()
2159 Record.AddStmt(S->getHandler()); in VisitSEHTryStmt()
2165 Record.AddSourceLocation(S->getLeaveLoc()); in VisitSEHLeaveStmt()
2174 Record.writeOMPChildren(E->Data); in VisitOMPExecutableDirective()
2175 Record.AddSourceLocation(E->getBeginLoc()); in VisitOMPExecutableDirective()
2176 Record.AddSourceLocation(E->getEndLoc()); in VisitOMPExecutableDirective()
2181 Record.writeUInt32(D->getCollapsedNumber()); in VisitOMPLoopDirective()
2188 Record.writeBool(D->hasCancel()); in VisitOMPParallelDirective()
2199 Record.writeBool(D->hasCancel()); in VisitOMPForDirective()
2211 Record.writeBool(D->hasCancel()); in VisitOMPSectionsDirective()
2218 Record.writeBool(D->hasCancel()); in VisitOMPSectionDirective()
2237 Record.AddDeclarationNameInfo(D->getDirectiveName()); in VisitOMPCriticalDirective()
2243 Record.writeBool(D->hasCancel()); in VisitOMPParallelForDirective()
2264 Record.writeBool(D->hasCancel()); in VisitOMPParallelSectionsDirective()
2271 Record.writeBool(D->hasCancel()); in VisitOMPTaskDirective()
2278 Record.writeBool(D->isXLHSInRHSPart()); in VisitOMPAtomicDirective()
2279 Record.writeBool(D->isPostfixUpdate()); in VisitOMPAtomicDirective()
2313 Record.writeBool(D->hasCancel()); in VisitOMPTargetParallelDirective()
2320 Record.writeBool(D->hasCancel()); in VisitOMPTargetParallelForDirective()
2382 Record.writeEnum(D->getCancelRegion()); in VisitOMPCancellationPointDirective()
2389 Record.writeEnum(D->getCancelRegion()); in VisitOMPCancelDirective()
2395 Record.writeBool(D->hasCancel()); in VisitOMPTaskLoopDirective()
2407 Record.writeBool(D->hasCancel()); in VisitOMPMasterTaskLoopDirective()
2420 Record.writeBool(D->hasCancel()); in VisitOMPParallelMasterTaskLoopDirective()
2444 Record.writeBool(D->hasCancel()); in VisitOMPDistributeParallelForDirective()
2492 Record.writeBool(D->hasCancel()); in VisitOMPTeamsDistributeParallelForDirective()
2511 Record.writeBool(D->hasCancel()); in VisitOMPTargetTeamsDistributeParallelForDirective()
2553 RecordData Record; in WriteSubStmt() local
2554 ASTStmtWriter Writer(*this, Record); in WriteSubStmt()
2558 Stream.EmitRecord(serialization::STMT_NULL_PTR, Record); in WriteSubStmt()
2564 Record.push_back(I->second); in WriteSubStmt()
2565 Stream.EmitRecord(serialization::STMT_REF_PTR, Record); in WriteSubStmt()
2605 assert(N == StmtsToEmit.size() && "record modified while being written!"); in FlushStmts()
2625 assert(N == StmtsToEmit.size() && "record modified while being written!"); in FlushSubStmts()