Lines Matching refs:TL
5744 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) { in VisitQualifiedTypeLoc() argument
5747 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
5748 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); in VisitBuiltinTypeLoc()
5749 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
5750 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); in VisitBuiltinTypeLoc()
5751 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); in VisitBuiltinTypeLoc()
5752 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); in VisitBuiltinTypeLoc()
5753 TL.setModeAttr(Record[Idx++]); in VisitBuiltinTypeLoc()
5756 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
5757 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitComplexTypeLoc()
5759 void TypeLocReader::VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc() argument
5760 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitPointerTypeLoc()
5762 void TypeLocReader::VisitDecayedTypeLoc(DecayedTypeLoc TL) { in VisitDecayedTypeLoc() argument
5765 void TypeLocReader::VisitAdjustedTypeLoc(AdjustedTypeLoc TL) { in VisitAdjustedTypeLoc() argument
5768 void TypeLocReader::VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) { in VisitBlockPointerTypeLoc() argument
5769 TL.setCaretLoc(ReadSourceLocation(Record, Idx)); in VisitBlockPointerTypeLoc()
5771 void TypeLocReader::VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) { in VisitLValueReferenceTypeLoc() argument
5772 TL.setAmpLoc(ReadSourceLocation(Record, Idx)); in VisitLValueReferenceTypeLoc()
5774 void TypeLocReader::VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) { in VisitRValueReferenceTypeLoc() argument
5775 TL.setAmpAmpLoc(ReadSourceLocation(Record, Idx)); in VisitRValueReferenceTypeLoc()
5777 void TypeLocReader::VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) { in VisitMemberPointerTypeLoc() argument
5778 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitMemberPointerTypeLoc()
5779 TL.setClassTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitMemberPointerTypeLoc()
5781 void TypeLocReader::VisitArrayTypeLoc(ArrayTypeLoc TL) { in VisitArrayTypeLoc() argument
5782 TL.setLBracketLoc(ReadSourceLocation(Record, Idx)); in VisitArrayTypeLoc()
5783 TL.setRBracketLoc(ReadSourceLocation(Record, Idx)); in VisitArrayTypeLoc()
5785 TL.setSizeExpr(Reader.ReadExpr(F)); in VisitArrayTypeLoc()
5787 TL.setSizeExpr(nullptr); in VisitArrayTypeLoc()
5789 void TypeLocReader::VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) { in VisitConstantArrayTypeLoc() argument
5790 VisitArrayTypeLoc(TL); in VisitConstantArrayTypeLoc()
5792 void TypeLocReader::VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) { in VisitIncompleteArrayTypeLoc() argument
5793 VisitArrayTypeLoc(TL); in VisitIncompleteArrayTypeLoc()
5795 void TypeLocReader::VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) { in VisitVariableArrayTypeLoc() argument
5796 VisitArrayTypeLoc(TL); in VisitVariableArrayTypeLoc()
5799 DependentSizedArrayTypeLoc TL) { in VisitDependentSizedArrayTypeLoc() argument
5800 VisitArrayTypeLoc(TL); in VisitDependentSizedArrayTypeLoc()
5803 DependentSizedExtVectorTypeLoc TL) { in VisitDependentSizedExtVectorTypeLoc() argument
5804 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentSizedExtVectorTypeLoc()
5806 void TypeLocReader::VisitVectorTypeLoc(VectorTypeLoc TL) { in VisitVectorTypeLoc() argument
5807 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitVectorTypeLoc()
5809 void TypeLocReader::VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) { in VisitExtVectorTypeLoc() argument
5810 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitExtVectorTypeLoc()
5812 void TypeLocReader::VisitFunctionTypeLoc(FunctionTypeLoc TL) { in VisitFunctionTypeLoc() argument
5813 TL.setLocalRangeBegin(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5814 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5815 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5816 TL.setLocalRangeEnd(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5817 for (unsigned i = 0, e = TL.getNumParams(); i != e; ++i) { in VisitFunctionTypeLoc()
5818 TL.setParam(i, ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitFunctionTypeLoc()
5821 void TypeLocReader::VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) { in VisitFunctionProtoTypeLoc() argument
5822 VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc()
5824 void TypeLocReader::VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) { in VisitFunctionNoProtoTypeLoc() argument
5825 VisitFunctionTypeLoc(TL); in VisitFunctionNoProtoTypeLoc()
5827 void TypeLocReader::VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) { in VisitUnresolvedUsingTypeLoc() argument
5828 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitUnresolvedUsingTypeLoc()
5830 void TypeLocReader::VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
5831 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitTypedefTypeLoc()
5833 void TypeLocReader::VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) { in VisitTypeOfExprTypeLoc() argument
5834 TL.setTypeofLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5835 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5836 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5838 void TypeLocReader::VisitTypeOfTypeLoc(TypeOfTypeLoc TL) { in VisitTypeOfTypeLoc() argument
5839 TL.setTypeofLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5840 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5841 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5842 TL.setUnderlyingTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitTypeOfTypeLoc()
5844 void TypeLocReader::VisitDecltypeTypeLoc(DecltypeTypeLoc TL) { in VisitDecltypeTypeLoc() argument
5845 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDecltypeTypeLoc()
5847 void TypeLocReader::VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) { in VisitUnaryTransformTypeLoc() argument
5848 TL.setKWLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5849 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5850 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5851 TL.setUnderlyingTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitUnaryTransformTypeLoc()
5853 void TypeLocReader::VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument
5854 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitAutoTypeLoc()
5856 void TypeLocReader::VisitRecordTypeLoc(RecordTypeLoc TL) { in VisitRecordTypeLoc() argument
5857 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitRecordTypeLoc()
5859 void TypeLocReader::VisitEnumTypeLoc(EnumTypeLoc TL) { in VisitEnumTypeLoc() argument
5860 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitEnumTypeLoc()
5862 void TypeLocReader::VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
5863 TL.setAttrNameLoc(ReadSourceLocation(Record, Idx)); in VisitAttributedTypeLoc()
5864 if (TL.hasAttrOperand()) { in VisitAttributedTypeLoc()
5868 TL.setAttrOperandParensRange(range); in VisitAttributedTypeLoc()
5870 if (TL.hasAttrExprOperand()) { in VisitAttributedTypeLoc()
5872 TL.setAttrExprOperand(Reader.ReadExpr(F)); in VisitAttributedTypeLoc()
5874 TL.setAttrExprOperand(nullptr); in VisitAttributedTypeLoc()
5875 } else if (TL.hasAttrEnumOperand()) in VisitAttributedTypeLoc()
5876 TL.setAttrEnumOperandLoc(ReadSourceLocation(Record, Idx)); in VisitAttributedTypeLoc()
5878 void TypeLocReader::VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
5879 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateTypeParmTypeLoc()
5882 SubstTemplateTypeParmTypeLoc TL) { in VisitSubstTemplateTypeParmTypeLoc() argument
5883 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitSubstTemplateTypeParmTypeLoc()
5886 SubstTemplateTypeParmPackTypeLoc TL) { in VisitSubstTemplateTypeParmPackTypeLoc() argument
5887 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitSubstTemplateTypeParmPackTypeLoc()
5890 TemplateSpecializationTypeLoc TL) { in VisitTemplateSpecializationTypeLoc() argument
5891 TL.setTemplateKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5892 TL.setTemplateNameLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5893 TL.setLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5894 TL.setRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5895 for (unsigned i = 0, e = TL.getNumArgs(); i != e; ++i) in VisitTemplateSpecializationTypeLoc()
5896 TL.setArgLocInfo(i, in VisitTemplateSpecializationTypeLoc()
5898 TL.getTypePtr()->getArg(i).getKind(), in VisitTemplateSpecializationTypeLoc()
5901 void TypeLocReader::VisitParenTypeLoc(ParenTypeLoc TL) { in VisitParenTypeLoc() argument
5902 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitParenTypeLoc()
5903 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitParenTypeLoc()
5905 void TypeLocReader::VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) { in VisitElaboratedTypeLoc() argument
5906 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitElaboratedTypeLoc()
5907 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitElaboratedTypeLoc()
5909 void TypeLocReader::VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) { in VisitInjectedClassNameTypeLoc() argument
5910 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitInjectedClassNameTypeLoc()
5912 void TypeLocReader::VisitDependentNameTypeLoc(DependentNameTypeLoc TL) { in VisitDependentNameTypeLoc() argument
5913 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentNameTypeLoc()
5914 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitDependentNameTypeLoc()
5915 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentNameTypeLoc()
5918 DependentTemplateSpecializationTypeLoc TL) { in VisitDependentTemplateSpecializationTypeLoc() argument
5919 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5920 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5921 TL.setTemplateKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5922 TL.setTemplateNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5923 TL.setLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5924 TL.setRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5925 for (unsigned I = 0, E = TL.getNumArgs(); I != E; ++I) in VisitDependentTemplateSpecializationTypeLoc()
5926 TL.setArgLocInfo(I, in VisitDependentTemplateSpecializationTypeLoc()
5928 TL.getTypePtr()->getArg(I).getKind(), in VisitDependentTemplateSpecializationTypeLoc()
5931 void TypeLocReader::VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) { in VisitPackExpansionTypeLoc() argument
5932 TL.setEllipsisLoc(ReadSourceLocation(Record, Idx)); in VisitPackExpansionTypeLoc()
5934 void TypeLocReader::VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { in VisitObjCInterfaceTypeLoc() argument
5935 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitObjCInterfaceTypeLoc()
5937 void TypeLocReader::VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) { in VisitObjCObjectTypeLoc() argument
5938 TL.setHasBaseTypeAsWritten(Record[Idx++]); in VisitObjCObjectTypeLoc()
5939 TL.setLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5940 TL.setRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5941 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
5942 TL.setProtocolLoc(i, ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5944 void TypeLocReader::VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) { in VisitObjCObjectPointerTypeLoc() argument
5945 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectPointerTypeLoc()
5947 void TypeLocReader::VisitAtomicTypeLoc(AtomicTypeLoc TL) { in VisitAtomicTypeLoc() argument
5948 TL.setKWLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5949 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5950 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5962 for (TypeLoc TL = TInfo->getTypeLoc(); !TL.isNull(); TL = TL.getNextTypeLoc()) in GetTypeSourceInfo() local
5963 TLR.Visit(TL); in GetTypeSourceInfo()