Lines Matching refs:Loc
185 I.Loc = LocalRangeBegin; in getFunction()
502 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, in SetStorageClassSpec() argument
540 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
558 StorageClassSpecLoc = Loc; in SetStorageClassSpec()
563 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread() argument
570 ThreadStorageClassSpecLoc = Loc; in SetStorageClassSpecThread()
577 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc, in SetTypeSpecWidth() argument
584 TSWLoc = Loc; in SetTypeSpecWidth()
592 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() argument
598 TSCLoc = Loc; in SetTypeSpecComplex()
602 bool DeclSpec::SetTypeSpecSign(TSS S, SourceLocation Loc, in SetTypeSpecSign() argument
608 TSSLoc = Loc; in SetTypeSpecSign()
612 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
617 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy); in SetTypeSpecType()
641 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
655 TSTLoc = Loc; in SetTypeSpecType()
656 TSTNameLoc = Loc; in SetTypeSpecType()
661 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
666 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned, Policy); in SetTypeSpecType()
691 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
702 TSTLoc = Loc; in SetTypeSpecType()
703 TSTNameLoc = Loc; in SetTypeSpecType()
713 bool DeclSpec::SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, in SetTypeAltiVecVector() argument
722 AltiVecLoc = Loc; in SetTypeAltiVecVector()
726 bool DeclSpec::SetTypePipe(bool isPipe, SourceLocation Loc, in SetTypePipe() argument
742 bool DeclSpec::SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, in SetTypeAltiVecPixel() argument
752 TSTLoc = Loc; in SetTypeAltiVecPixel()
753 TSTNameLoc = Loc; in SetTypeAltiVecPixel()
757 bool DeclSpec::SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, in SetTypeAltiVecBool() argument
767 TSTLoc = Loc; in SetTypeAltiVecBool()
768 TSTNameLoc = Loc; in SetTypeAltiVecBool()
780 bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, in SetTypeQual() argument
796 case TQ_const: TQ_constLoc = Loc; return false; in SetTypeQual()
797 case TQ_restrict: TQ_restrictLoc = Loc; return false; in SetTypeQual()
798 case TQ_volatile: TQ_volatileLoc = Loc; return false; in SetTypeQual()
799 case TQ_unaligned: TQ_unalignedLoc = Loc; return false; in SetTypeQual()
800 case TQ_atomic: TQ_atomicLoc = Loc; return false; in SetTypeQual()
806 bool DeclSpec::setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecInline() argument
816 FS_inlineLoc = Loc; in setFunctionSpecInline()
820 bool DeclSpec::setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecForceInline() argument
828 FS_forceinlineLoc = Loc; in setFunctionSpecForceInline()
832 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc, in setFunctionSpecVirtual() argument
843 FS_virtualLoc = Loc; in setFunctionSpecVirtual()
847 bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc, in setFunctionSpecExplicit() argument
858 FS_explicitLoc = Loc; in setFunctionSpecExplicit()
862 bool DeclSpec::setFunctionSpecNoreturn(SourceLocation Loc, in setFunctionSpecNoreturn() argument
873 FS_noreturnLoc = Loc; in setFunctionSpecNoreturn()
877 bool DeclSpec::SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, in SetFriendSpec() argument
885 FriendLoc = Loc; in SetFriendSpec()
891 FriendLoc = Loc; in SetFriendSpec()
895 bool DeclSpec::setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, in setModulePrivateSpec() argument
903 ModulePrivateLoc = Loc; in setModulePrivateSpec()
907 bool DeclSpec::SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, in SetConstexprSpec() argument
917 ConstexprLoc = Loc; in SetConstexprSpec()
921 bool DeclSpec::SetConceptSpec(SourceLocation Loc, const char *&PrevSpec, in SetConceptSpec() argument
929 ConceptLoc = Loc; in SetConceptSpec()
1253 bool VirtSpecifiers::SetSpecifier(Specifier VS, SourceLocation Loc, in SetSpecifier() argument
1256 FirstLocation = Loc; in SetSpecifier()
1257 LastLocation = Loc; in SetSpecifier()
1269 case VS_Override: VS_overrideLoc = Loc; break; in SetSpecifier()
1271 case VS_Final: VS_finalLoc = Loc; break; in SetSpecifier()