Lines Matching full:record
34 ASTWriter::RecordData &Record; member in clang::ASTStmtWriter
40 ASTStmtWriter(ASTWriter &Writer, ASTWriter::RecordData &Record) in ASTStmtWriter() argument
41 : Writer(Writer), Record(Record) { } in ASTStmtWriter()
54 Writer.AddSourceLocation(Args.getTemplateKeywordLoc(), Record); in AddTemplateKWAndArgsInfo()
55 Writer.AddSourceLocation(Args.LAngleLoc, Record); in AddTemplateKWAndArgsInfo()
56 Writer.AddSourceLocation(Args.RAngleLoc, Record); in AddTemplateKWAndArgsInfo()
58 Writer.AddTemplateArgumentLoc(Args.getTemplateArgs()[i], Record); in AddTemplateKWAndArgsInfo()
66 Writer.AddSourceLocation(S->getSemiLoc(), Record); in VisitNullStmt()
67 Record.push_back(S->HasLeadingEmptyMacro); in VisitNullStmt()
73 Record.push_back(S->size()); in VisitCompoundStmt()
76 Writer.AddSourceLocation(S->getLBracLoc(), Record); in VisitCompoundStmt()
77 Writer.AddSourceLocation(S->getRBracLoc(), Record); in VisitCompoundStmt()
83 Record.push_back(Writer.getSwitchCaseID(S)); in VisitSwitchCase()
84 Writer.AddSourceLocation(S->getKeywordLoc(), Record); in VisitSwitchCase()
85 Writer.AddSourceLocation(S->getColonLoc(), Record); in VisitSwitchCase()
93 Writer.AddSourceLocation(S->getEllipsisLoc(), Record); in VisitCaseStmt()
105 Writer.AddDeclRef(S->getDecl(), Record); in VisitLabelStmt()
107 Writer.AddSourceLocation(S->getIdentLoc(), Record); in VisitLabelStmt()
113 Record.push_back(S->getAttrs().size()); in VisitAttributedStmt()
114 Writer.WriteAttributes(S->getAttrs(), Record); in VisitAttributedStmt()
116 Writer.AddSourceLocation(S->getAttrLoc(), Record); in VisitAttributedStmt()
122 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitIfStmt()
126 Writer.AddSourceLocation(S->getIfLoc(), Record); in VisitIfStmt()
127 Writer.AddSourceLocation(S->getElseLoc(), Record); in VisitIfStmt()
133 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitSwitchStmt()
136 Writer.AddSourceLocation(S->getSwitchLoc(), Record); in VisitSwitchStmt()
137 Record.push_back(S->isAllEnumCasesCovered()); in VisitSwitchStmt()
140 Record.push_back(Writer.RecordSwitchCaseID(SC)); in VisitSwitchStmt()
146 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitWhileStmt()
149 Writer.AddSourceLocation(S->getWhileLoc(), Record); in VisitWhileStmt()
157 Writer.AddSourceLocation(S->getDoLoc(), Record); in VisitDoStmt()
158 Writer.AddSourceLocation(S->getWhileLoc(), Record); in VisitDoStmt()
159 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitDoStmt()
167 Writer.AddDeclRef(S->getConditionVariable(), Record); in VisitForStmt()
170 Writer.AddSourceLocation(S->getForLoc(), Record); in VisitForStmt()
171 Writer.AddSourceLocation(S->getLParenLoc(), Record); in VisitForStmt()
172 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitForStmt()
178 Writer.AddDeclRef(S->getLabel(), Record); in VisitGotoStmt()
179 Writer.AddSourceLocation(S->getGotoLoc(), Record); in VisitGotoStmt()
180 Writer.AddSourceLocation(S->getLabelLoc(), Record); in VisitGotoStmt()
186 Writer.AddSourceLocation(S->getGotoLoc(), Record); in VisitIndirectGotoStmt()
187 Writer.AddSourceLocation(S->getStarLoc(), Record); in VisitIndirectGotoStmt()
194 Writer.AddSourceLocation(S->getContinueLoc(), Record); in VisitContinueStmt()
200 Writer.AddSourceLocation(S->getBreakLoc(), Record); in VisitBreakStmt()
207 Writer.AddSourceLocation(S->getReturnLoc(), Record); in VisitReturnStmt()
208 Writer.AddDeclRef(S->getNRVOCandidate(), Record); in VisitReturnStmt()
214 Writer.AddSourceLocation(S->getStartLoc(), Record); in VisitDeclStmt()
215 Writer.AddSourceLocation(S->getEndLoc(), Record); in VisitDeclStmt()
218 Writer.AddDeclRef(*D, Record); in VisitDeclStmt()
224 Record.push_back(S->getNumOutputs()); in VisitAsmStmt()
225 Record.push_back(S->getNumInputs()); in VisitAsmStmt()
226 Record.push_back(S->getNumClobbers()); in VisitAsmStmt()
227 Writer.AddSourceLocation(S->getAsmLoc(), Record); in VisitAsmStmt()
228 Record.push_back(S->isVolatile()); in VisitAsmStmt()
229 Record.push_back(S->isSimple()); in VisitAsmStmt()
234 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitGCCAsmStmt()
239 Writer.AddIdentifierRef(S->getOutputIdentifier(I), Record); in VisitGCCAsmStmt()
246 Writer.AddIdentifierRef(S->getInputIdentifier(I), Record); in VisitGCCAsmStmt()
260 Writer.AddSourceLocation(S->getLBraceLoc(), Record); in VisitMSAsmStmt()
261 Writer.AddSourceLocation(S->getEndLoc(), Record); in VisitMSAsmStmt()
262 Record.push_back(S->getNumAsmToks()); in VisitMSAsmStmt()
263 Writer.AddString(S->getAsmString(), Record); in VisitMSAsmStmt()
267 Writer.AddToken(S->getAsmToks()[I], Record); in VisitMSAsmStmt()
272 Writer.AddString(S->getClobber(I), Record); in VisitMSAsmStmt()
278 Writer.AddString(S->getOutputConstraint(I), Record); in VisitMSAsmStmt()
284 Writer.AddString(S->getInputConstraint(I), Record); in VisitMSAsmStmt()
313 Record.push_back(std::distance(S->capture_begin(), S->capture_end())); in VisitCapturedStmt()
316 Writer.AddDeclRef(S->getCapturedDecl(), Record); in VisitCapturedStmt()
317 Record.push_back(S->getCapturedRegionKind()); in VisitCapturedStmt()
319 Writer.AddDeclRef(S->getCapturedRecordDecl(), Record); in VisitCapturedStmt()
331 Writer.AddDeclRef(nullptr, Record); in VisitCapturedStmt()
333 Writer.AddDeclRef(I.getCapturedVar(), Record); in VisitCapturedStmt()
334 Record.push_back(I.getCaptureKind()); in VisitCapturedStmt()
335 Writer.AddSourceLocation(I.getLocation(), Record); in VisitCapturedStmt()
343 Writer.AddTypeRef(E->getType(), Record); in VisitExpr()
344 Record.push_back(E->isTypeDependent()); in VisitExpr()
345 Record.push_back(E->isValueDependent()); in VisitExpr()
346 Record.push_back(E->isInstantiationDependent()); in VisitExpr()
347 Record.push_back(E->containsUnexpandedParameterPack()); in VisitExpr()
348 Record.push_back(E->getValueKind()); in VisitExpr()
349 Record.push_back(E->getObjectKind()); in VisitExpr()
354 Writer.AddSourceLocation(E->getLocation(), Record); in VisitPredefinedExpr()
355 Record.push_back(E->getIdentType()); // FIXME: stable encoding in VisitPredefinedExpr()
363 Record.push_back(E->hasQualifier()); in VisitDeclRefExpr()
364 Record.push_back(E->getDecl() != E->getFoundDecl()); in VisitDeclRefExpr()
365 Record.push_back(E->hasTemplateKWAndArgsInfo()); in VisitDeclRefExpr()
366 Record.push_back(E->hadMultipleCandidates()); in VisitDeclRefExpr()
367 Record.push_back(E->refersToEnclosingVariableOrCapture()); in VisitDeclRefExpr()
371 Record.push_back(NumTemplateArgs); in VisitDeclRefExpr()
383 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitDeclRefExpr()
386 Writer.AddDeclRef(E->getFoundDecl(), Record); in VisitDeclRefExpr()
391 Writer.AddDeclRef(E->getDecl(), Record); in VisitDeclRefExpr()
392 Writer.AddSourceLocation(E->getLocation(), Record); in VisitDeclRefExpr()
393 Writer.AddDeclarationNameLoc(E->DNLoc, E->getDecl()->getDeclName(), Record); in VisitDeclRefExpr()
399 Writer.AddSourceLocation(E->getLocation(), Record); in VisitIntegerLiteral()
400 Writer.AddAPInt(E->getValue(), Record); in VisitIntegerLiteral()
411 Record.push_back(E->getRawSemantics()); in VisitFloatingLiteral()
412 Record.push_back(E->isExact()); in VisitFloatingLiteral()
413 Writer.AddAPFloat(E->getValue(), Record); in VisitFloatingLiteral()
414 Writer.AddSourceLocation(E->getLocation(), Record); in VisitFloatingLiteral()
426 Record.push_back(E->getByteLength()); in VisitStringLiteral()
427 Record.push_back(E->getNumConcatenated()); in VisitStringLiteral()
428 Record.push_back(E->getKind()); in VisitStringLiteral()
429 Record.push_back(E->isPascal()); in VisitStringLiteral()
434 Record.append(E->getBytes().begin(), E->getBytes().end()); in VisitStringLiteral()
436 Writer.AddSourceLocation(E->getStrTokenLoc(I), Record); in VisitStringLiteral()
442 Record.push_back(E->getValue()); in VisitCharacterLiteral()
443 Writer.AddSourceLocation(E->getLocation(), Record); in VisitCharacterLiteral()
444 Record.push_back(E->getKind()); in VisitCharacterLiteral()
453 Writer.AddSourceLocation(E->getLParen(), Record); in VisitParenExpr()
454 Writer.AddSourceLocation(E->getRParen(), Record); in VisitParenExpr()
461 Record.push_back(E->NumExprs); in VisitParenListExpr()
464 Writer.AddSourceLocation(E->LParenLoc, Record); in VisitParenListExpr()
465 Writer.AddSourceLocation(E->RParenLoc, Record); in VisitParenListExpr()
472 Record.push_back(E->getOpcode()); // FIXME: stable encoding in VisitUnaryOperator()
473 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryOperator()
479 Record.push_back(E->getNumComponents()); in VisitOffsetOfExpr()
480 Record.push_back(E->getNumExpressions()); in VisitOffsetOfExpr()
481 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitOffsetOfExpr()
482 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitOffsetOfExpr()
483 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitOffsetOfExpr()
486 Record.push_back(ON.getKind()); // FIXME: Stable encoding in VisitOffsetOfExpr()
487 Writer.AddSourceLocation(ON.getSourceRange().getBegin(), Record); in VisitOffsetOfExpr()
488 Writer.AddSourceLocation(ON.getSourceRange().getEnd(), Record); in VisitOffsetOfExpr()
491 Record.push_back(ON.getArrayExprIndex()); in VisitOffsetOfExpr()
495 Writer.AddDeclRef(ON.getField(), Record); in VisitOffsetOfExpr()
499 Writer.AddIdentifierRef(ON.getFieldName(), Record); in VisitOffsetOfExpr()
503 Writer.AddCXXBaseSpecifier(*ON.getBase(), Record); in VisitOffsetOfExpr()
514 Record.push_back(E->getKind()); in VisitUnaryExprOrTypeTraitExpr()
516 Writer.AddTypeSourceInfo(E->getArgumentTypeInfo(), Record); in VisitUnaryExprOrTypeTraitExpr()
518 Record.push_back(0); in VisitUnaryExprOrTypeTraitExpr()
521 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnaryExprOrTypeTraitExpr()
522 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitUnaryExprOrTypeTraitExpr()
530 Writer.AddSourceLocation(E->getRBracketLoc(), Record); in VisitArraySubscriptExpr()
539 Writer.AddSourceLocation(E->getColonLoc(), Record); in VisitOMPArraySectionExpr()
540 Writer.AddSourceLocation(E->getRBracketLoc(), Record); in VisitOMPArraySectionExpr()
546 Record.push_back(E->getNumArgs()); in VisitCallExpr()
547 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitCallExpr()
558 Record.push_back(E->hasQualifier()); in VisitMemberExpr()
560 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitMemberExpr()
562 Record.push_back(E->HasTemplateKWAndArgsInfo); in VisitMemberExpr()
564 Writer.AddSourceLocation(E->getTemplateKeywordLoc(), Record); in VisitMemberExpr()
566 Record.push_back(NumTemplateArgs); in VisitMemberExpr()
567 Writer.AddSourceLocation(E->getLAngleLoc(), Record); in VisitMemberExpr()
568 Writer.AddSourceLocation(E->getRAngleLoc(), Record); in VisitMemberExpr()
570 Writer.AddTemplateArgumentLoc(E->getTemplateArgs()[i], Record); in VisitMemberExpr()
573 Record.push_back(E->hadMultipleCandidates()); in VisitMemberExpr()
576 Writer.AddDeclRef(FoundDecl.getDecl(), Record); in VisitMemberExpr()
577 Record.push_back(FoundDecl.getAccess()); in VisitMemberExpr()
579 Writer.AddTypeRef(E->getType(), Record); in VisitMemberExpr()
580 Record.push_back(E->getValueKind()); in VisitMemberExpr()
581 Record.push_back(E->getObjectKind()); in VisitMemberExpr()
583 Writer.AddDeclRef(E->getMemberDecl(), Record); in VisitMemberExpr()
584 Writer.AddSourceLocation(E->getMemberLoc(), Record); in VisitMemberExpr()
585 Record.push_back(E->isArrow()); in VisitMemberExpr()
586 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitMemberExpr()
588 E->getMemberDecl()->getDeclName(), Record); in VisitMemberExpr()
595 Writer.AddSourceLocation(E->getIsaMemberLoc(), Record); in VisitObjCIsaExpr()
596 Writer.AddSourceLocation(E->getOpLoc(), Record); in VisitObjCIsaExpr()
597 Record.push_back(E->isArrow()); in VisitObjCIsaExpr()
605 Record.push_back(E->shouldCopy()); in VisitObjCIndirectCopyRestoreExpr()
611 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitObjCBridgedCastExpr()
612 Writer.AddSourceLocation(E->getBridgeKeywordLoc(), Record); in VisitObjCBridgedCastExpr()
613 Record.push_back(E->getBridgeKind()); // FIXME: Stable encoding in VisitObjCBridgedCastExpr()
619 Record.push_back(E->path_size()); in VisitCastExpr()
621 Record.push_back(E->getCastKind()); // FIXME: stable encoding in VisitCastExpr()
625 Writer.AddCXXBaseSpecifier(**PI, Record); in VisitCastExpr()
632 Record.push_back(E->getOpcode()); // FIXME: stable encoding in VisitBinaryOperator()
633 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitBinaryOperator()
634 Record.push_back(E->isFPContractable()); in VisitBinaryOperator()
640 Writer.AddTypeRef(E->getComputationLHSType(), Record); in VisitCompoundAssignOperator()
641 Writer.AddTypeRef(E->getComputationResultType(), Record); in VisitCompoundAssignOperator()
650 Writer.AddSourceLocation(E->getQuestionLoc(), Record); in VisitConditionalOperator()
651 Writer.AddSourceLocation(E->getColonLoc(), Record); in VisitConditionalOperator()
663 Writer.AddSourceLocation(E->getQuestionLoc(), Record); in VisitBinaryConditionalOperator()
664 Writer.AddSourceLocation(E->getColonLoc(), Record); in VisitBinaryConditionalOperator()
679 Writer.AddTypeSourceInfo(E->getTypeInfoAsWritten(), Record); in VisitExplicitCastExpr()
684 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitCStyleCastExpr()
685 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitCStyleCastExpr()
691 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitCompoundLiteralExpr()
692 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCompoundLiteralExpr()
694 Record.push_back(E->isFileScope()); in VisitCompoundLiteralExpr()
701 Writer.AddIdentifierRef(&E->getAccessor(), Record); in VisitExtVectorElementExpr()
702 Writer.AddSourceLocation(E->getAccessorLoc(), Record); in VisitExtVectorElementExpr()
711 Writer.AddSourceLocation(E->getLBraceLoc(), Record); in VisitInitListExpr()
712 Writer.AddSourceLocation(E->getRBraceLoc(), Record); in VisitInitListExpr()
714 Record.push_back(isArrayFiller); in VisitInitListExpr()
718 Writer.AddDeclRef(E->getInitializedFieldInUnion(), Record); in VisitInitListExpr()
719 Record.push_back(E->hadArrayRangeDesignator()); in VisitInitListExpr()
720 Record.push_back(E->getNumInits()); in VisitInitListExpr()
736 Record.push_back(E->getNumSubExprs()); in VisitDesignatedInitExpr()
739 Writer.AddSourceLocation(E->getEqualOrColonLoc(), Record); in VisitDesignatedInitExpr()
740 Record.push_back(E->usesGNUSyntax()); in VisitDesignatedInitExpr()
746 Record.push_back(serialization::DESIG_FIELD_DECL); in VisitDesignatedInitExpr()
747 Writer.AddDeclRef(Field, Record); in VisitDesignatedInitExpr()
749 Record.push_back(serialization::DESIG_FIELD_NAME); in VisitDesignatedInitExpr()
750 Writer.AddIdentifierRef(D->getFieldName(), Record); in VisitDesignatedInitExpr()
752 Writer.AddSourceLocation(D->getDotLoc(), Record); in VisitDesignatedInitExpr()
753 Writer.AddSourceLocation(D->getFieldLoc(), Record); in VisitDesignatedInitExpr()
755 Record.push_back(serialization::DESIG_ARRAY); in VisitDesignatedInitExpr()
756 Record.push_back(D->getFirstExprIndex()); in VisitDesignatedInitExpr()
757 Writer.AddSourceLocation(D->getLBracketLoc(), Record); in VisitDesignatedInitExpr()
758 Writer.AddSourceLocation(D->getRBracketLoc(), Record); in VisitDesignatedInitExpr()
761 Record.push_back(serialization::DESIG_ARRAY_RANGE); in VisitDesignatedInitExpr()
762 Record.push_back(D->getFirstExprIndex()); in VisitDesignatedInitExpr()
763 Writer.AddSourceLocation(D->getLBracketLoc(), Record); in VisitDesignatedInitExpr()
764 Writer.AddSourceLocation(D->getEllipsisLoc(), Record); in VisitDesignatedInitExpr()
765 Writer.AddSourceLocation(D->getRBracketLoc(), Record); in VisitDesignatedInitExpr()
791 Writer.AddTypeSourceInfo(E->getWrittenTypeInfo(), Record); in VisitVAArgExpr()
792 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitVAArgExpr()
793 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitVAArgExpr()
794 Record.push_back(E->isMicrosoftABI()); in VisitVAArgExpr()
800 Writer.AddSourceLocation(E->getAmpAmpLoc(), Record); in VisitAddrLabelExpr()
801 Writer.AddSourceLocation(E->getLabelLoc(), Record); in VisitAddrLabelExpr()
802 Writer.AddDeclRef(E->getLabel(), Record); in VisitAddrLabelExpr()
809 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitStmtExpr()
810 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitStmtExpr()
819 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitChooseExpr()
820 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitChooseExpr()
821 Record.push_back(E->isConditionDependent() ? false : E->isConditionTrue()); in VisitChooseExpr()
827 Writer.AddSourceLocation(E->getTokenLocation(), Record); in VisitGNUNullExpr()
833 Record.push_back(E->getNumSubExprs()); in VisitShuffleVectorExpr()
836 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitShuffleVectorExpr()
837 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitShuffleVectorExpr()
843 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitConvertVectorExpr()
844 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitConvertVectorExpr()
845 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitConvertVectorExpr()
852 Writer.AddDeclRef(E->getBlockDecl(), Record); in VisitBlockExpr()
858 Record.push_back(E->getNumAssocs()); in VisitGenericSelectionExpr()
862 Writer.AddTypeSourceInfo(E->getAssocTypeSourceInfo(I), Record); in VisitGenericSelectionExpr()
865 Record.push_back(E->isResultDependent() ? -1U : E->getResultIndex()); in VisitGenericSelectionExpr()
867 Writer.AddSourceLocation(E->getGenericLoc(), Record); in VisitGenericSelectionExpr()
868 Writer.AddSourceLocation(E->getDefaultLoc(), Record); in VisitGenericSelectionExpr()
869 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitGenericSelectionExpr()
875 Record.push_back(E->getNumSemanticExprs()); in VisitPseudoObjectExpr()
881 Record.push_back(result); in VisitPseudoObjectExpr()
893 Record.push_back(E->getOp()); in VisitAtomicExpr()
896 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitAtomicExpr()
897 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitAtomicExpr()
908 Writer.AddSourceLocation(E->getAtLoc(), Record); in VisitObjCStringLiteral()
915 Writer.AddDeclRef(E->getBoxingMethod(), Record); in VisitObjCBoxedExpr()
916 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitObjCBoxedExpr()
922 Record.push_back(E->getNumElements()); in VisitObjCArrayLiteral()
925 Writer.AddDeclRef(E->getArrayWithObjectsMethod(), Record); in VisitObjCArrayLiteral()
926 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitObjCArrayLiteral()
932 Record.push_back(E->getNumElements()); in VisitObjCDictionaryLiteral()
933 Record.push_back(E->HasPackExpansions); in VisitObjCDictionaryLiteral()
939 Writer.AddSourceLocation(Element.EllipsisLoc, Record); in VisitObjCDictionaryLiteral()
943 Record.push_back(NumExpansions); in VisitObjCDictionaryLiteral()
947 Writer.AddDeclRef(E->getDictWithObjectsMethod(), Record); in VisitObjCDictionaryLiteral()
948 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitObjCDictionaryLiteral()
954 Writer.AddTypeSourceInfo(E->getEncodedTypeSourceInfo(), Record); in VisitObjCEncodeExpr()
955 Writer.AddSourceLocation(E->getAtLoc(), Record); in VisitObjCEncodeExpr()
956 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitObjCEncodeExpr()
962 Writer.AddSelectorRef(E->getSelector(), Record); in VisitObjCSelectorExpr()
963 Writer.AddSourceLocation(E->getAtLoc(), Record); in VisitObjCSelectorExpr()
964 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitObjCSelectorExpr()
970 Writer.AddDeclRef(E->getProtocol(), Record); in VisitObjCProtocolExpr()
971 Writer.AddSourceLocation(E->getAtLoc(), Record); in VisitObjCProtocolExpr()
972 Writer.AddSourceLocation(E->ProtoLoc, Record); in VisitObjCProtocolExpr()
973 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitObjCProtocolExpr()
979 Writer.AddDeclRef(E->getDecl(), Record); in VisitObjCIvarRefExpr()
980 Writer.AddSourceLocation(E->getLocation(), Record); in VisitObjCIvarRefExpr()
981 Writer.AddSourceLocation(E->getOpLoc(), Record); in VisitObjCIvarRefExpr()
983 Record.push_back(E->isArrow()); in VisitObjCIvarRefExpr()
984 Record.push_back(E->isFreeIvar()); in VisitObjCIvarRefExpr()
990 Record.push_back(E->SetterAndMethodRefFlags.getInt()); in VisitObjCPropertyRefExpr()
991 Record.push_back(E->isImplicitProperty()); in VisitObjCPropertyRefExpr()
993 Writer.AddDeclRef(E->getImplicitPropertyGetter(), Record); in VisitObjCPropertyRefExpr()
994 Writer.AddDeclRef(E->getImplicitPropertySetter(), Record); in VisitObjCPropertyRefExpr()
996 Writer.AddDeclRef(E->getExplicitProperty(), Record); in VisitObjCPropertyRefExpr()
998 Writer.AddSourceLocation(E->getLocation(), Record); in VisitObjCPropertyRefExpr()
999 Writer.AddSourceLocation(E->getReceiverLocation(), Record); in VisitObjCPropertyRefExpr()
1001 Record.push_back(0); in VisitObjCPropertyRefExpr()
1004 Record.push_back(1); in VisitObjCPropertyRefExpr()
1005 Writer.AddTypeRef(E->getSuperReceiverType(), Record); in VisitObjCPropertyRefExpr()
1007 Record.push_back(2); in VisitObjCPropertyRefExpr()
1008 Writer.AddDeclRef(E->getClassReceiver(), Record); in VisitObjCPropertyRefExpr()
1016 Writer.AddSourceLocation(E->getRBracket(), Record); in VisitObjCSubscriptRefExpr()
1019 Writer.AddDeclRef(E->getAtIndexMethodDecl(), Record); in VisitObjCSubscriptRefExpr()
1020 Writer.AddDeclRef(E->setAtIndexMethodDecl(), Record); in VisitObjCSubscriptRefExpr()
1027 Record.push_back(E->getNumArgs()); in VisitObjCMessageExpr()
1028 Record.push_back(E->getNumStoredSelLocs()); in VisitObjCMessageExpr()
1029 Record.push_back(E->SelLocsKind); in VisitObjCMessageExpr()
1030 Record.push_back(E->isDelegateInitCall()); in VisitObjCMessageExpr()
1031 Record.push_back(E->IsImplicit); in VisitObjCMessageExpr()
1032 Record.push_back((unsigned)E->getReceiverKind()); // FIXME: stable encoding in VisitObjCMessageExpr()
1039 Writer.AddTypeSourceInfo(E->getClassReceiverTypeInfo(), Record); in VisitObjCMessageExpr()
1044 Writer.AddTypeRef(E->getSuperType(), Record); in VisitObjCMessageExpr()
1045 Writer.AddSourceLocation(E->getSuperLoc(), Record); in VisitObjCMessageExpr()
1050 Record.push_back(1); in VisitObjCMessageExpr()
1051 Writer.AddDeclRef(E->getMethodDecl(), Record); in VisitObjCMessageExpr()
1053 Record.push_back(0); in VisitObjCMessageExpr()
1054 Writer.AddSelectorRef(E->getSelector(), Record); in VisitObjCMessageExpr()
1057 Writer.AddSourceLocation(E->getLeftLoc(), Record); in VisitObjCMessageExpr()
1058 Writer.AddSourceLocation(E->getRightLoc(), Record); in VisitObjCMessageExpr()
1066 Writer.AddSourceLocation(Locs[i], Record); in VisitObjCMessageExpr()
1076 Writer.AddSourceLocation(S->getForLoc(), Record); in VisitObjCForCollectionStmt()
1077 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitObjCForCollectionStmt()
1083 Writer.AddDeclRef(S->getCatchParamDecl(), Record); in VisitObjCAtCatchStmt()
1084 Writer.AddSourceLocation(S->getAtCatchLoc(), Record); in VisitObjCAtCatchStmt()
1085 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitObjCAtCatchStmt()
1091 Writer.AddSourceLocation(S->getAtFinallyLoc(), Record); in VisitObjCAtFinallyStmt()
1097 Writer.AddSourceLocation(S->getAtLoc(), Record); in VisitObjCAutoreleasePoolStmt()
1102 Record.push_back(S->getNumCatchStmts()); in VisitObjCAtTryStmt()
1103 Record.push_back(S->getFinallyStmt() != nullptr); in VisitObjCAtTryStmt()
1109 Writer.AddSourceLocation(S->getAtTryLoc(), Record); in VisitObjCAtTryStmt()
1116 Writer.AddSourceLocation(S->getAtSynchronizedLoc(), Record); in VisitObjCAtSynchronizedStmt()
1122 Writer.AddSourceLocation(S->getThrowLoc(), Record); in VisitObjCAtThrowStmt()
1128 Record.push_back(E->getValue()); in VisitObjCBoolLiteralExpr()
1129 Writer.AddSourceLocation(E->getLocation(), Record); in VisitObjCBoolLiteralExpr()
1139 Writer.AddSourceLocation(S->getCatchLoc(), Record); in VisitCXXCatchStmt()
1140 Writer.AddDeclRef(S->getExceptionDecl(), Record); in VisitCXXCatchStmt()
1147 Record.push_back(S->getNumHandlers()); in VisitCXXTryStmt()
1148 Writer.AddSourceLocation(S->getTryLoc(), Record); in VisitCXXTryStmt()
1157 Writer.AddSourceLocation(S->getForLoc(), Record); in VisitCXXForRangeStmt()
1158 Writer.AddSourceLocation(S->getCoawaitLoc(), Record); in VisitCXXForRangeStmt()
1159 Writer.AddSourceLocation(S->getColonLoc(), Record); in VisitCXXForRangeStmt()
1160 Writer.AddSourceLocation(S->getRParenLoc(), Record); in VisitCXXForRangeStmt()
1172 Writer.AddSourceLocation(S->getKeywordLoc(), Record); in VisitMSDependentExistsStmt()
1173 Record.push_back(S->isIfExists()); in VisitMSDependentExistsStmt()
1174 Writer.AddNestedNameSpecifierLoc(S->getQualifierLoc(), Record); in VisitMSDependentExistsStmt()
1175 Writer.AddDeclarationNameInfo(S->getNameInfo(), Record); in VisitMSDependentExistsStmt()
1182 Record.push_back(E->getOperator()); in VisitCXXOperatorCallExpr()
1183 Writer.AddSourceRange(E->Range, Record); in VisitCXXOperatorCallExpr()
1184 Record.push_back(E->isFPContractable()); in VisitCXXOperatorCallExpr()
1195 Record.push_back(E->getNumArgs()); in VisitCXXConstructExpr()
1198 Writer.AddDeclRef(E->getConstructor(), Record); in VisitCXXConstructExpr()
1199 Writer.AddSourceLocation(E->getLocation(), Record); in VisitCXXConstructExpr()
1200 Record.push_back(E->isElidable()); in VisitCXXConstructExpr()
1201 Record.push_back(E->hadMultipleCandidates()); in VisitCXXConstructExpr()
1202 Record.push_back(E->isListInitialization()); in VisitCXXConstructExpr()
1203 Record.push_back(E->isStdInitListInitialization()); in VisitCXXConstructExpr()
1204 Record.push_back(E->requiresZeroInitialization()); in VisitCXXConstructExpr()
1205 Record.push_back(E->getConstructionKind()); // FIXME: stable encoding in VisitCXXConstructExpr()
1206 Writer.AddSourceRange(E->getParenOrBraceRange(), Record); in VisitCXXConstructExpr()
1212 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXTemporaryObjectExpr()
1218 Record.push_back(E->NumCaptures); in VisitLambdaExpr()
1222 Record.push_back(NumArrayIndexVars); in VisitLambdaExpr()
1223 Writer.AddSourceRange(E->IntroducerRange, Record); in VisitLambdaExpr()
1224 Record.push_back(E->CaptureDefault); // FIXME: stable encoding in VisitLambdaExpr()
1225 Writer.AddSourceLocation(E->CaptureDefaultLoc, Record); in VisitLambdaExpr()
1226 Record.push_back(E->ExplicitParams); in VisitLambdaExpr()
1227 Record.push_back(E->ExplicitResultType); in VisitLambdaExpr()
1228 Writer.AddSourceLocation(E->ClosingBrace, Record); in VisitLambdaExpr()
1239 Record.append(E->getArrayIndexStarts(), in VisitLambdaExpr()
1243 Writer.AddDeclRef(ArrayIndexVars[I], Record); in VisitLambdaExpr()
1258 Record); in VisitCXXNamedCastExpr()
1259 Writer.AddSourceRange(E->getAngleBrackets(), Record); in VisitCXXNamedCastExpr()
1284 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitCXXFunctionalCastExpr()
1285 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitCXXFunctionalCastExpr()
1291 Writer.AddSourceLocation(E->UDSuffixLoc, Record); in VisitUserDefinedLiteral()
1297 Record.push_back(E->getValue()); in VisitCXXBoolLiteralExpr()
1298 Writer.AddSourceLocation(E->getLocation(), Record); in VisitCXXBoolLiteralExpr()
1304 Writer.AddSourceLocation(E->getLocation(), Record); in VisitCXXNullPtrLiteralExpr()
1310 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitCXXTypeidExpr()
1312 Writer.AddTypeSourceInfo(E->getTypeOperandSourceInfo(), Record); in VisitCXXTypeidExpr()
1322 Writer.AddSourceLocation(E->getLocation(), Record); in VisitCXXThisExpr()
1323 Record.push_back(E->isImplicit()); in VisitCXXThisExpr()
1329 Writer.AddSourceLocation(E->getThrowLoc(), Record); in VisitCXXThrowExpr()
1331 Record.push_back(E->isThrownVariableInScope()); in VisitCXXThrowExpr()
1340 Record.push_back(HasOtherExprStored); in VisitCXXDefaultArgExpr()
1343 Writer.AddDeclRef(E->getParam(), Record); in VisitCXXDefaultArgExpr()
1344 Writer.AddSourceLocation(E->getUsedLocation(), Record); in VisitCXXDefaultArgExpr()
1351 Writer.AddDeclRef(E->getField(), Record); in VisitCXXDefaultInitExpr()
1352 Writer.AddSourceLocation(E->getExprLoc(), Record); in VisitCXXDefaultInitExpr()
1358 Writer.AddCXXTemporary(E->getTemporary(), Record); in VisitCXXBindTemporaryExpr()
1365 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXScalarValueInitExpr()
1366 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitCXXScalarValueInitExpr()
1372 Record.push_back(E->isGlobalNew()); in VisitCXXNewExpr()
1373 Record.push_back(E->isArray()); in VisitCXXNewExpr()
1374 Record.push_back(E->doesUsualArrayDeleteWantSize()); in VisitCXXNewExpr()
1375 Record.push_back(E->getNumPlacementArgs()); in VisitCXXNewExpr()
1376 Record.push_back(E->StoredInitializationStyle); in VisitCXXNewExpr()
1377 Writer.AddDeclRef(E->getOperatorNew(), Record); in VisitCXXNewExpr()
1378 Writer.AddDeclRef(E->getOperatorDelete(), Record); in VisitCXXNewExpr()
1379 Writer.AddTypeSourceInfo(E->getAllocatedTypeSourceInfo(), Record); in VisitCXXNewExpr()
1380 Writer.AddSourceRange(E->getTypeIdParens(), Record); in VisitCXXNewExpr()
1381 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitCXXNewExpr()
1382 Writer.AddSourceRange(E->getDirectInitRange(), Record); in VisitCXXNewExpr()
1392 Record.push_back(E->isGlobalDelete()); in VisitCXXDeleteExpr()
1393 Record.push_back(E->isArrayForm()); in VisitCXXDeleteExpr()
1394 Record.push_back(E->isArrayFormAsWritten()); in VisitCXXDeleteExpr()
1395 Record.push_back(E->doesUsualArrayDeleteWantSize()); in VisitCXXDeleteExpr()
1396 Writer.AddDeclRef(E->getOperatorDelete(), Record); in VisitCXXDeleteExpr()
1398 Writer.AddSourceLocation(E->getSourceRange().getBegin(), Record); in VisitCXXDeleteExpr()
1407 Record.push_back(E->isArrow()); in VisitCXXPseudoDestructorExpr()
1408 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXPseudoDestructorExpr()
1409 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitCXXPseudoDestructorExpr()
1410 Writer.AddTypeSourceInfo(E->getScopeTypeInfo(), Record); in VisitCXXPseudoDestructorExpr()
1411 Writer.AddSourceLocation(E->getColonColonLoc(), Record); in VisitCXXPseudoDestructorExpr()
1412 Writer.AddSourceLocation(E->getTildeLoc(), Record); in VisitCXXPseudoDestructorExpr()
1415 Writer.AddIdentifierRef(E->getDestroyedTypeIdentifier(), Record); in VisitCXXPseudoDestructorExpr()
1417 Writer.AddSourceLocation(E->getDestroyedTypeLoc(), Record); in VisitCXXPseudoDestructorExpr()
1419 Writer.AddTypeSourceInfo(E->getDestroyedTypeInfo(), Record); in VisitCXXPseudoDestructorExpr()
1426 Record.push_back(E->getNumObjects()); in VisitExprWithCleanups()
1428 Writer.AddDeclRef(E->getObject(i), Record); in VisitExprWithCleanups()
1441 Record.push_back(E->HasTemplateKWAndArgsInfo); in VisitCXXDependentScopeMemberExpr()
1444 Record.push_back(Args.NumTemplateArgs); in VisitCXXDependentScopeMemberExpr()
1452 Writer.AddTypeRef(E->getBaseType(), Record); in VisitCXXDependentScopeMemberExpr()
1453 Record.push_back(E->isArrow()); in VisitCXXDependentScopeMemberExpr()
1454 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitCXXDependentScopeMemberExpr()
1455 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitCXXDependentScopeMemberExpr()
1456 Writer.AddDeclRef(E->getFirstQualifierFoundInScope(), Record); in VisitCXXDependentScopeMemberExpr()
1457 Writer.AddDeclarationNameInfo(E->MemberNameInfo, Record); in VisitCXXDependentScopeMemberExpr()
1468 Record.push_back(E->HasTemplateKWAndArgsInfo); in VisitDependentScopeDeclRefExpr()
1471 Record.push_back(Args.NumTemplateArgs); in VisitDependentScopeDeclRefExpr()
1475 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitDependentScopeDeclRefExpr()
1476 Writer.AddDeclarationNameInfo(E->NameInfo, Record); in VisitDependentScopeDeclRefExpr()
1483 Record.push_back(E->arg_size()); in VisitCXXUnresolvedConstructExpr()
1487 Writer.AddTypeSourceInfo(E->getTypeSourceInfo(), Record); in VisitCXXUnresolvedConstructExpr()
1488 Writer.AddSourceLocation(E->getLParenLoc(), Record); in VisitCXXUnresolvedConstructExpr()
1489 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitCXXUnresolvedConstructExpr()
1499 Record.push_back(E->HasTemplateKWAndArgsInfo); in VisitOverloadExpr()
1502 Record.push_back(Args.NumTemplateArgs); in VisitOverloadExpr()
1506 Record.push_back(E->getNumDecls()); in VisitOverloadExpr()
1509 Writer.AddDeclRef(OvI.getDecl(), Record); in VisitOverloadExpr()
1510 Record.push_back(OvI.getAccess()); in VisitOverloadExpr()
1513 Writer.AddDeclarationNameInfo(E->NameInfo, Record); in VisitOverloadExpr()
1514 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitOverloadExpr()
1519 Record.push_back(E->isArrow()); in VisitUnresolvedMemberExpr()
1520 Record.push_back(E->hasUnresolvedUsing()); in VisitUnresolvedMemberExpr()
1522 Writer.AddTypeRef(E->getBaseType(), Record); in VisitUnresolvedMemberExpr()
1523 Writer.AddSourceLocation(E->getOperatorLoc(), Record); in VisitUnresolvedMemberExpr()
1529 Record.push_back(E->requiresADL()); in VisitUnresolvedLookupExpr()
1530 Record.push_back(E->isOverloaded()); in VisitUnresolvedLookupExpr()
1531 Writer.AddDeclRef(E->getNamingClass(), Record); in VisitUnresolvedLookupExpr()
1537 Record.push_back(E->TypeTraitExprBits.NumArgs); in VisitTypeTraitExpr()
1538 Record.push_back(E->TypeTraitExprBits.Kind); // FIXME: Stable encoding in VisitTypeTraitExpr()
1539 Record.push_back(E->TypeTraitExprBits.Value); in VisitTypeTraitExpr()
1540 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitTypeTraitExpr()
1542 Writer.AddTypeSourceInfo(E->getArg(I), Record); in VisitTypeTraitExpr()
1548 Record.push_back(E->getTrait()); in VisitArrayTypeTraitExpr()
1549 Record.push_back(E->getValue()); in VisitArrayTypeTraitExpr()
1550 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitArrayTypeTraitExpr()
1551 Writer.AddTypeSourceInfo(E->getQueriedTypeSourceInfo(), Record); in VisitArrayTypeTraitExpr()
1557 Record.push_back(E->getTrait()); in VisitExpressionTraitExpr()
1558 Record.push_back(E->getValue()); in VisitExpressionTraitExpr()
1559 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitExpressionTraitExpr()
1566 Record.push_back(E->getValue()); in VisitCXXNoexceptExpr()
1567 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitCXXNoexceptExpr()
1574 Writer.AddSourceLocation(E->getEllipsisLoc(), Record); in VisitPackExpansionExpr()
1575 Record.push_back(E->NumExpansions); in VisitPackExpansionExpr()
1582 Record.push_back(E->isPartiallySubstituted() ? E->getPartialArguments().size() in VisitSizeOfPackExpr()
1584 Writer.AddSourceLocation(E->OperatorLoc, Record); in VisitSizeOfPackExpr()
1585 Writer.AddSourceLocation(E->PackLoc, Record); in VisitSizeOfPackExpr()
1586 Writer.AddSourceLocation(E->RParenLoc, Record); in VisitSizeOfPackExpr()
1587 Writer.AddDeclRef(E->Pack, Record); in VisitSizeOfPackExpr()
1590 Writer.AddTemplateArgument(TA, Record); in VisitSizeOfPackExpr()
1592 Record.push_back(E->getPackLength()); in VisitSizeOfPackExpr()
1600 Writer.AddDeclRef(E->getParameter(), Record); in VisitSubstNonTypeTemplateParmExpr()
1601 Writer.AddSourceLocation(E->getNameLoc(), Record); in VisitSubstNonTypeTemplateParmExpr()
1609 Writer.AddDeclRef(E->getParameterPack(), Record); in VisitSubstNonTypeTemplateParmPackExpr()
1610 Writer.AddTemplateArgument(E->getArgumentPack(), Record); in VisitSubstNonTypeTemplateParmPackExpr()
1611 Writer.AddSourceLocation(E->getParameterPackLocation(), Record); in VisitSubstNonTypeTemplateParmPackExpr()
1617 Record.push_back(E->getNumExpansions()); in VisitFunctionParmPackExpr()
1618 Writer.AddDeclRef(E->getParameterPack(), Record); in VisitFunctionParmPackExpr()
1619 Writer.AddSourceLocation(E->getParameterPackLocation(), Record); in VisitFunctionParmPackExpr()
1622 Writer.AddDeclRef(*I, Record); in VisitFunctionParmPackExpr()
1629 Writer.AddDeclRef(E->getExtendingDecl(), Record); in VisitMaterializeTemporaryExpr()
1630 Record.push_back(E->getManglingNumber()); in VisitMaterializeTemporaryExpr()
1636 Writer.AddSourceLocation(E->LParenLoc, Record); in VisitCXXFoldExpr()
1637 Writer.AddSourceLocation(E->EllipsisLoc, Record); in VisitCXXFoldExpr()
1638 Writer.AddSourceLocation(E->RParenLoc, Record); in VisitCXXFoldExpr()
1641 Record.push_back(E->Opcode); in VisitCXXFoldExpr()
1648 Writer.AddSourceLocation(E->getLocation(), Record); in VisitOpaqueValueExpr()
1673 Writer.AddSourceLocation(E->getBuiltinLoc(), Record); in VisitAsTypeExpr()
1674 Writer.AddSourceLocation(E->getRParenLoc(), Record); in VisitAsTypeExpr()
1684 Record.push_back(E->isArrow()); in VisitMSPropertyRefExpr()
1686 Writer.AddNestedNameSpecifierLoc(E->getQualifierLoc(), Record); in VisitMSPropertyRefExpr()
1687 Writer.AddSourceLocation(E->getMemberLoc(), Record); in VisitMSPropertyRefExpr()
1688 Writer.AddDeclRef(E->getPropertyDecl(), Record); in VisitMSPropertyRefExpr()
1696 Writer.AddSourceLocation(E->getRBracketLoc(), Record); in VisitMSPropertySubscriptExpr()
1702 Writer.AddSourceRange(E->getSourceRange(), Record); in VisitCXXUuidofExpr()
1704 Writer.AddTypeSourceInfo(E->getTypeOperandSourceInfo(), Record); in VisitCXXUuidofExpr()
1714 Writer.AddSourceLocation(S->getExceptLoc(), Record); in VisitSEHExceptStmt()
1722 Writer.AddSourceLocation(S->getFinallyLoc(), Record); in VisitSEHFinallyStmt()
1729 Record.push_back(S->getIsCXXTry()); in VisitSEHTryStmt()
1730 Writer.AddSourceLocation(S->getTryLoc(), Record); in VisitSEHTryStmt()
1738 Writer.AddSourceLocation(S->getLeaveLoc(), Record); in VisitSEHLeaveStmt()
1749 ASTWriter::RecordData &Record; member in clang::OMPClauseWriter
1751 OMPClauseWriter(ASTStmtWriter *W, ASTWriter::RecordData &Record) in OMPClauseWriter() argument
1752 : Writer(W), Record(Record) { } in OMPClauseWriter()
1761 Record.push_back(C->getClauseKind()); in writeClause()
1763 Writer->Writer.AddSourceLocation(C->getLocStart(), Record); in writeClause()
1764 Writer->Writer.AddSourceLocation(C->getLocEnd(), Record); in writeClause()
1768 Record.push_back(C->getNameModifier()); in VisitOMPIfClause()
1769 Writer->Writer.AddSourceLocation(C->getNameModifierLoc(), Record); in VisitOMPIfClause()
1770 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPIfClause()
1772 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPIfClause()
1777 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPFinalClause()
1782 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPNumThreadsClause()
1787 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPSafelenClause()
1792 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPSimdlenClause()
1797 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPCollapseClause()
1801 Record.push_back(C->getDefaultKind()); in VisitOMPDefaultClause()
1802 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPDefaultClause()
1803 Writer->Writer.AddSourceLocation(C->getDefaultKindKwLoc(), Record); in VisitOMPDefaultClause()
1807 Record.push_back(C->getProcBindKind()); in VisitOMPProcBindClause()
1808 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPProcBindClause()
1809 Writer->Writer.AddSourceLocation(C->getProcBindKindKwLoc(), Record); in VisitOMPProcBindClause()
1813 Record.push_back(C->getScheduleKind()); in VisitOMPScheduleClause()
1816 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPScheduleClause()
1817 Writer->Writer.AddSourceLocation(C->getScheduleKindLoc(), Record); in VisitOMPScheduleClause()
1818 Writer->Writer.AddSourceLocation(C->getCommaLoc(), Record); in VisitOMPScheduleClause()
1823 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPOrderedClause()
1849 Record.push_back(C->varlist_size()); in VisitOMPPrivateClause()
1850 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPPrivateClause()
1860 Record.push_back(C->varlist_size()); in VisitOMPFirstprivateClause()
1861 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPFirstprivateClause()
1874 Record.push_back(C->varlist_size()); in VisitOMPLastprivateClause()
1875 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPLastprivateClause()
1889 Record.push_back(C->varlist_size()); in VisitOMPSharedClause()
1890 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPSharedClause()
1896 Record.push_back(C->varlist_size()); in VisitOMPReductionClause()
1897 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPReductionClause()
1898 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPReductionClause()
1899 Writer->Writer.AddNestedNameSpecifierLoc(C->getQualifierLoc(), Record); in VisitOMPReductionClause()
1900 Writer->Writer.AddDeclarationNameInfo(C->getNameInfo(), Record); in VisitOMPReductionClause()
1914 Record.push_back(C->varlist_size()); in VisitOMPLinearClause()
1915 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPLinearClause()
1916 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPLinearClause()
1917 Record.push_back(C->getModifier()); in VisitOMPLinearClause()
1918 Writer->Writer.AddSourceLocation(C->getModifierLoc(), Record); in VisitOMPLinearClause()
1939 Record.push_back(C->varlist_size()); in VisitOMPAlignedClause()
1940 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPAlignedClause()
1941 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPAlignedClause()
1948 Record.push_back(C->varlist_size()); in VisitOMPCopyinClause()
1949 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPCopyinClause()
1961 Record.push_back(C->varlist_size()); in VisitOMPCopyprivateClause()
1962 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPCopyprivateClause()
1974 Record.push_back(C->varlist_size()); in VisitOMPFlushClause()
1975 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPFlushClause()
1981 Record.push_back(C->varlist_size()); in VisitOMPDependClause()
1982 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPDependClause()
1983 Record.push_back(C->getDependencyKind()); in VisitOMPDependClause()
1984 Writer->Writer.AddSourceLocation(C->getDependencyLoc(), Record); in VisitOMPDependClause()
1985 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPDependClause()
1992 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPDeviceClause()
1996 Record.push_back(C->varlist_size()); in VisitOMPMapClause()
1997 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPMapClause()
1998 Record.push_back(C->getMapTypeModifier()); in VisitOMPMapClause()
1999 Record.push_back(C->getMapType()); in VisitOMPMapClause()
2000 Writer->Writer.AddSourceLocation(C->getMapLoc(), Record); in VisitOMPMapClause()
2001 Writer->Writer.AddSourceLocation(C->getColonLoc(), Record); in VisitOMPMapClause()
2008 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPNumTeamsClause()
2013 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPThreadLimitClause()
2018 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPPriorityClause()
2023 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPGrainsizeClause()
2028 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPNumTasksClause()
2033 Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); in VisitOMPHintClause()
2040 Writer.AddSourceLocation(E->getLocStart(), Record); in VisitOMPExecutableDirective()
2041 Writer.AddSourceLocation(E->getLocEnd(), Record); in VisitOMPExecutableDirective()
2042 OMPClauseWriter ClauseWriter(this, Record); in VisitOMPExecutableDirective()
2052 Record.push_back(D->getNumClauses()); in VisitOMPLoopDirective()
2053 Record.push_back(D->getCollapsedNumber()); in VisitOMPLoopDirective()
2090 Record.push_back(D->getNumClauses()); in VisitOMPParallelDirective()
2092 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPParallelDirective()
2103 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPForDirective()
2114 Record.push_back(D->getNumClauses()); in VisitOMPSectionsDirective()
2116 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPSectionsDirective()
2123 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPSectionDirective()
2129 Record.push_back(D->getNumClauses()); in VisitOMPSingleDirective()
2142 Record.push_back(D->getNumClauses()); in VisitOMPCriticalDirective()
2144 Writer.AddDeclarationNameInfo(D->getDirectiveName(), Record); in VisitOMPCriticalDirective()
2150 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPParallelForDirective()
2163 Record.push_back(D->getNumClauses()); in VisitOMPParallelSectionsDirective()
2165 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPParallelSectionsDirective()
2171 Record.push_back(D->getNumClauses()); in VisitOMPTaskDirective()
2173 Record.push_back(D->hasCancel() ? 1 : 0); in VisitOMPTaskDirective()
2179 Record.push_back(D->getNumClauses()); in VisitOMPAtomicDirective()
2185 Record.push_back(D->isXLHSInRHSPart() ? 1 : 0); in VisitOMPAtomicDirective()
2186 Record.push_back(D->isPostfixUpdate() ? 1 : 0); in VisitOMPAtomicDirective()
2192 Record.push_back(D->getNumClauses()); in VisitOMPTargetDirective()
2199 Record.push_back(D->getNumClauses()); in VisitOMPTargetDataDirective()
2230 Record.push_back(D->getNumClauses()); in VisitOMPFlushDirective()
2237 Record.push_back(D->getNumClauses()); in VisitOMPOrderedDirective()
2244 Record.push_back(D->getNumClauses()); in VisitOMPTeamsDirective()
2253 Record.push_back(D->getCancelRegion()); in VisitOMPCancellationPointDirective()
2259 Record.push_back(D->getNumClauses()); in VisitOMPCancelDirective()
2261 Record.push_back(D->getCancelRegion()); in VisitOMPCancelDirective()
2307 RecordData Record; in WriteSubStmt() local
2308 ASTStmtWriter Writer(*this, Record); in WriteSubStmt()
2312 Stream.EmitRecord(serialization::STMT_NULL_PTR, Record); in WriteSubStmt()
2318 Record.push_back(I->second); in WriteSubStmt()
2319 Stream.EmitRecord(serialization::STMT_REF_PTR, Record); in WriteSubStmt()
2369 Stream.EmitRecord(Writer.Code, Record, Writer.AbbrevToUse); in WriteSubStmt()
2377 RecordData Record; in FlushStmts() local
2393 Stream.EmitRecord(serialization::STMT_STOP, Record); in FlushStmts()