• Home
  • Raw
  • Download

Lines Matching refs:TL

5737 void TypeLocReader::VisitQualifiedTypeLoc(QualifiedTypeLoc TL) {  in VisitQualifiedTypeLoc()  argument
5740 void TypeLocReader::VisitBuiltinTypeLoc(BuiltinTypeLoc TL) { in VisitBuiltinTypeLoc() argument
5741 TL.setBuiltinLoc(ReadSourceLocation(Record, Idx)); in VisitBuiltinTypeLoc()
5742 if (TL.needsExtraLocalData()) { in VisitBuiltinTypeLoc()
5743 TL.setWrittenTypeSpec(static_cast<DeclSpec::TST>(Record[Idx++])); in VisitBuiltinTypeLoc()
5744 TL.setWrittenSignSpec(static_cast<DeclSpec::TSS>(Record[Idx++])); in VisitBuiltinTypeLoc()
5745 TL.setWrittenWidthSpec(static_cast<DeclSpec::TSW>(Record[Idx++])); in VisitBuiltinTypeLoc()
5746 TL.setModeAttr(Record[Idx++]); in VisitBuiltinTypeLoc()
5749 void TypeLocReader::VisitComplexTypeLoc(ComplexTypeLoc TL) { in VisitComplexTypeLoc() argument
5750 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitComplexTypeLoc()
5752 void TypeLocReader::VisitPointerTypeLoc(PointerTypeLoc TL) { in VisitPointerTypeLoc() argument
5753 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitPointerTypeLoc()
5755 void TypeLocReader::VisitDecayedTypeLoc(DecayedTypeLoc TL) { in VisitDecayedTypeLoc() argument
5758 void TypeLocReader::VisitAdjustedTypeLoc(AdjustedTypeLoc TL) { in VisitAdjustedTypeLoc() argument
5761 void TypeLocReader::VisitBlockPointerTypeLoc(BlockPointerTypeLoc TL) { in VisitBlockPointerTypeLoc() argument
5762 TL.setCaretLoc(ReadSourceLocation(Record, Idx)); in VisitBlockPointerTypeLoc()
5764 void TypeLocReader::VisitLValueReferenceTypeLoc(LValueReferenceTypeLoc TL) { in VisitLValueReferenceTypeLoc() argument
5765 TL.setAmpLoc(ReadSourceLocation(Record, Idx)); in VisitLValueReferenceTypeLoc()
5767 void TypeLocReader::VisitRValueReferenceTypeLoc(RValueReferenceTypeLoc TL) { in VisitRValueReferenceTypeLoc() argument
5768 TL.setAmpAmpLoc(ReadSourceLocation(Record, Idx)); in VisitRValueReferenceTypeLoc()
5770 void TypeLocReader::VisitMemberPointerTypeLoc(MemberPointerTypeLoc TL) { in VisitMemberPointerTypeLoc() argument
5771 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitMemberPointerTypeLoc()
5772 TL.setClassTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitMemberPointerTypeLoc()
5774 void TypeLocReader::VisitArrayTypeLoc(ArrayTypeLoc TL) { in VisitArrayTypeLoc() argument
5775 TL.setLBracketLoc(ReadSourceLocation(Record, Idx)); in VisitArrayTypeLoc()
5776 TL.setRBracketLoc(ReadSourceLocation(Record, Idx)); in VisitArrayTypeLoc()
5778 TL.setSizeExpr(Reader.ReadExpr(F)); in VisitArrayTypeLoc()
5780 TL.setSizeExpr(nullptr); in VisitArrayTypeLoc()
5782 void TypeLocReader::VisitConstantArrayTypeLoc(ConstantArrayTypeLoc TL) { in VisitConstantArrayTypeLoc() argument
5783 VisitArrayTypeLoc(TL); in VisitConstantArrayTypeLoc()
5785 void TypeLocReader::VisitIncompleteArrayTypeLoc(IncompleteArrayTypeLoc TL) { in VisitIncompleteArrayTypeLoc() argument
5786 VisitArrayTypeLoc(TL); in VisitIncompleteArrayTypeLoc()
5788 void TypeLocReader::VisitVariableArrayTypeLoc(VariableArrayTypeLoc TL) { in VisitVariableArrayTypeLoc() argument
5789 VisitArrayTypeLoc(TL); in VisitVariableArrayTypeLoc()
5792 DependentSizedArrayTypeLoc TL) { in VisitDependentSizedArrayTypeLoc() argument
5793 VisitArrayTypeLoc(TL); in VisitDependentSizedArrayTypeLoc()
5796 DependentSizedExtVectorTypeLoc TL) { in VisitDependentSizedExtVectorTypeLoc() argument
5797 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentSizedExtVectorTypeLoc()
5799 void TypeLocReader::VisitVectorTypeLoc(VectorTypeLoc TL) { in VisitVectorTypeLoc() argument
5800 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitVectorTypeLoc()
5802 void TypeLocReader::VisitExtVectorTypeLoc(ExtVectorTypeLoc TL) { in VisitExtVectorTypeLoc() argument
5803 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitExtVectorTypeLoc()
5805 void TypeLocReader::VisitFunctionTypeLoc(FunctionTypeLoc TL) { in VisitFunctionTypeLoc() argument
5806 TL.setLocalRangeBegin(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5807 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5808 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5809 TL.setLocalRangeEnd(ReadSourceLocation(Record, Idx)); in VisitFunctionTypeLoc()
5810 for (unsigned i = 0, e = TL.getNumParams(); i != e; ++i) { in VisitFunctionTypeLoc()
5811 TL.setParam(i, ReadDeclAs<ParmVarDecl>(Record, Idx)); in VisitFunctionTypeLoc()
5814 void TypeLocReader::VisitFunctionProtoTypeLoc(FunctionProtoTypeLoc TL) { in VisitFunctionProtoTypeLoc() argument
5815 VisitFunctionTypeLoc(TL); in VisitFunctionProtoTypeLoc()
5817 void TypeLocReader::VisitFunctionNoProtoTypeLoc(FunctionNoProtoTypeLoc TL) { in VisitFunctionNoProtoTypeLoc() argument
5818 VisitFunctionTypeLoc(TL); in VisitFunctionNoProtoTypeLoc()
5820 void TypeLocReader::VisitUnresolvedUsingTypeLoc(UnresolvedUsingTypeLoc TL) { in VisitUnresolvedUsingTypeLoc() argument
5821 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitUnresolvedUsingTypeLoc()
5823 void TypeLocReader::VisitTypedefTypeLoc(TypedefTypeLoc TL) { in VisitTypedefTypeLoc() argument
5824 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitTypedefTypeLoc()
5826 void TypeLocReader::VisitTypeOfExprTypeLoc(TypeOfExprTypeLoc TL) { in VisitTypeOfExprTypeLoc() argument
5827 TL.setTypeofLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5828 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5829 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfExprTypeLoc()
5831 void TypeLocReader::VisitTypeOfTypeLoc(TypeOfTypeLoc TL) { in VisitTypeOfTypeLoc() argument
5832 TL.setTypeofLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5833 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5834 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitTypeOfTypeLoc()
5835 TL.setUnderlyingTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitTypeOfTypeLoc()
5837 void TypeLocReader::VisitDecltypeTypeLoc(DecltypeTypeLoc TL) { in VisitDecltypeTypeLoc() argument
5838 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDecltypeTypeLoc()
5840 void TypeLocReader::VisitUnaryTransformTypeLoc(UnaryTransformTypeLoc TL) { in VisitUnaryTransformTypeLoc() argument
5841 TL.setKWLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5842 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5843 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitUnaryTransformTypeLoc()
5844 TL.setUnderlyingTInfo(Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitUnaryTransformTypeLoc()
5846 void TypeLocReader::VisitAutoTypeLoc(AutoTypeLoc TL) { in VisitAutoTypeLoc() argument
5847 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitAutoTypeLoc()
5849 void TypeLocReader::VisitRecordTypeLoc(RecordTypeLoc TL) { in VisitRecordTypeLoc() argument
5850 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitRecordTypeLoc()
5852 void TypeLocReader::VisitEnumTypeLoc(EnumTypeLoc TL) { in VisitEnumTypeLoc() argument
5853 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitEnumTypeLoc()
5855 void TypeLocReader::VisitAttributedTypeLoc(AttributedTypeLoc TL) { in VisitAttributedTypeLoc() argument
5856 TL.setAttrNameLoc(ReadSourceLocation(Record, Idx)); in VisitAttributedTypeLoc()
5857 if (TL.hasAttrOperand()) { in VisitAttributedTypeLoc()
5861 TL.setAttrOperandParensRange(range); in VisitAttributedTypeLoc()
5863 if (TL.hasAttrExprOperand()) { in VisitAttributedTypeLoc()
5865 TL.setAttrExprOperand(Reader.ReadExpr(F)); in VisitAttributedTypeLoc()
5867 TL.setAttrExprOperand(nullptr); in VisitAttributedTypeLoc()
5868 } else if (TL.hasAttrEnumOperand()) in VisitAttributedTypeLoc()
5869 TL.setAttrEnumOperandLoc(ReadSourceLocation(Record, Idx)); in VisitAttributedTypeLoc()
5871 void TypeLocReader::VisitTemplateTypeParmTypeLoc(TemplateTypeParmTypeLoc TL) { in VisitTemplateTypeParmTypeLoc() argument
5872 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateTypeParmTypeLoc()
5875 SubstTemplateTypeParmTypeLoc TL) { in VisitSubstTemplateTypeParmTypeLoc() argument
5876 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitSubstTemplateTypeParmTypeLoc()
5879 SubstTemplateTypeParmPackTypeLoc TL) { in VisitSubstTemplateTypeParmPackTypeLoc() argument
5880 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitSubstTemplateTypeParmPackTypeLoc()
5883 TemplateSpecializationTypeLoc TL) { in VisitTemplateSpecializationTypeLoc() argument
5884 TL.setTemplateKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5885 TL.setTemplateNameLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5886 TL.setLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5887 TL.setRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitTemplateSpecializationTypeLoc()
5888 for (unsigned i = 0, e = TL.getNumArgs(); i != e; ++i) in VisitTemplateSpecializationTypeLoc()
5889 TL.setArgLocInfo(i, in VisitTemplateSpecializationTypeLoc()
5891 TL.getTypePtr()->getArg(i).getKind(), in VisitTemplateSpecializationTypeLoc()
5894 void TypeLocReader::VisitParenTypeLoc(ParenTypeLoc TL) { in VisitParenTypeLoc() argument
5895 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitParenTypeLoc()
5896 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitParenTypeLoc()
5898 void TypeLocReader::VisitElaboratedTypeLoc(ElaboratedTypeLoc TL) { in VisitElaboratedTypeLoc() argument
5899 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitElaboratedTypeLoc()
5900 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitElaboratedTypeLoc()
5902 void TypeLocReader::VisitInjectedClassNameTypeLoc(InjectedClassNameTypeLoc TL) { in VisitInjectedClassNameTypeLoc() argument
5903 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitInjectedClassNameTypeLoc()
5905 void TypeLocReader::VisitDependentNameTypeLoc(DependentNameTypeLoc TL) { in VisitDependentNameTypeLoc() argument
5906 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentNameTypeLoc()
5907 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitDependentNameTypeLoc()
5908 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentNameTypeLoc()
5911 DependentTemplateSpecializationTypeLoc TL) { in VisitDependentTemplateSpecializationTypeLoc() argument
5912 TL.setElaboratedKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5913 TL.setQualifierLoc(Reader.ReadNestedNameSpecifierLoc(F, Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5914 TL.setTemplateKeywordLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5915 TL.setTemplateNameLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5916 TL.setLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5917 TL.setRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitDependentTemplateSpecializationTypeLoc()
5918 for (unsigned I = 0, E = TL.getNumArgs(); I != E; ++I) in VisitDependentTemplateSpecializationTypeLoc()
5919 TL.setArgLocInfo(I, in VisitDependentTemplateSpecializationTypeLoc()
5921 TL.getTypePtr()->getArg(I).getKind(), in VisitDependentTemplateSpecializationTypeLoc()
5924 void TypeLocReader::VisitPackExpansionTypeLoc(PackExpansionTypeLoc TL) { in VisitPackExpansionTypeLoc() argument
5925 TL.setEllipsisLoc(ReadSourceLocation(Record, Idx)); in VisitPackExpansionTypeLoc()
5927 void TypeLocReader::VisitObjCInterfaceTypeLoc(ObjCInterfaceTypeLoc TL) { in VisitObjCInterfaceTypeLoc() argument
5928 TL.setNameLoc(ReadSourceLocation(Record, Idx)); in VisitObjCInterfaceTypeLoc()
5930 void TypeLocReader::VisitObjCObjectTypeLoc(ObjCObjectTypeLoc TL) { in VisitObjCObjectTypeLoc() argument
5931 TL.setHasBaseTypeAsWritten(Record[Idx++]); in VisitObjCObjectTypeLoc()
5932 TL.setTypeArgsLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5933 TL.setTypeArgsRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5934 for (unsigned i = 0, e = TL.getNumTypeArgs(); i != e; ++i) in VisitObjCObjectTypeLoc()
5935 TL.setTypeArgTInfo(i, Reader.GetTypeSourceInfo(F, Record, Idx)); in VisitObjCObjectTypeLoc()
5936 TL.setProtocolLAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5937 TL.setProtocolRAngleLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5938 for (unsigned i = 0, e = TL.getNumProtocols(); i != e; ++i) in VisitObjCObjectTypeLoc()
5939 TL.setProtocolLoc(i, ReadSourceLocation(Record, Idx)); in VisitObjCObjectTypeLoc()
5941 void TypeLocReader::VisitObjCObjectPointerTypeLoc(ObjCObjectPointerTypeLoc TL) { in VisitObjCObjectPointerTypeLoc() argument
5942 TL.setStarLoc(ReadSourceLocation(Record, Idx)); in VisitObjCObjectPointerTypeLoc()
5944 void TypeLocReader::VisitAtomicTypeLoc(AtomicTypeLoc TL) { in VisitAtomicTypeLoc() argument
5945 TL.setKWLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5946 TL.setLParenLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5947 TL.setRParenLoc(ReadSourceLocation(Record, Idx)); in VisitAtomicTypeLoc()
5949 void TypeLocReader::VisitPipeTypeLoc(PipeTypeLoc TL) { in VisitPipeTypeLoc() argument
5950 TL.setKWLoc(ReadSourceLocation(Record, Idx)); in VisitPipeTypeLoc()
5962 for (TypeLoc TL = TInfo->getTypeLoc(); !TL.isNull(); TL = TL.getNextTypeLoc()) in GetTypeSourceInfo() local
5963 TLR.Visit(TL); in GetTypeSourceInfo()