Lines Matching refs:Loc
34 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc, in Diag() argument
36 return D.Report(Loc, DiagID); in Diag()
179 I.Loc = LocalRangeBegin; in getFunction()
469 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc, in SetStorageClassSpec() argument
507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID, Policy); in SetStorageClassSpec()
525 StorageClassSpecLoc = Loc; in SetStorageClassSpec()
530 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc, in SetStorageClassSpecThread() argument
537 ThreadStorageClassSpecLoc = Loc; in SetStorageClassSpecThread()
544 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc, in SetTypeSpecWidth() argument
551 TSWLoc = Loc; in SetTypeSpecWidth()
565 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc, in SetTypeSpecComplex() argument
571 TSCLoc = Loc; in SetTypeSpecComplex()
575 bool DeclSpec::SetTypeSpecSign(TSS S, SourceLocation Loc, in SetTypeSpecSign() argument
581 TSSLoc = Loc; in SetTypeSpecSign()
585 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
590 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Policy); in SetTypeSpecType()
614 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
628 TSTLoc = Loc; in SetTypeSpecType()
629 TSTNameLoc = Loc; in SetTypeSpecType()
634 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
639 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned, Policy); in SetTypeSpecType()
664 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc, in SetTypeSpecType() argument
675 TSTLoc = Loc; in SetTypeSpecType()
676 TSTNameLoc = Loc; in SetTypeSpecType()
691 bool DeclSpec::SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc, in SetTypeAltiVecVector() argument
700 AltiVecLoc = Loc; in SetTypeAltiVecVector()
704 bool DeclSpec::SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc, in SetTypeAltiVecPixel() argument
714 TSTLoc = Loc; in SetTypeAltiVecPixel()
715 TSTNameLoc = Loc; in SetTypeAltiVecPixel()
719 bool DeclSpec::SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc, in SetTypeAltiVecBool() argument
729 TSTLoc = Loc; in SetTypeAltiVecBool()
730 TSTNameLoc = Loc; in SetTypeAltiVecBool()
742 bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec, in SetTypeQual() argument
758 case TQ_const: TQ_constLoc = Loc; return false; in SetTypeQual()
759 case TQ_restrict: TQ_restrictLoc = Loc; return false; in SetTypeQual()
760 case TQ_volatile: TQ_volatileLoc = Loc; return false; in SetTypeQual()
761 case TQ_atomic: TQ_atomicLoc = Loc; return false; in SetTypeQual()
767 bool DeclSpec::setFunctionSpecInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecInline() argument
777 FS_inlineLoc = Loc; in setFunctionSpecInline()
781 bool DeclSpec::setFunctionSpecForceInline(SourceLocation Loc, const char *&PrevSpec, in setFunctionSpecForceInline() argument
789 FS_forceinlineLoc = Loc; in setFunctionSpecForceInline()
793 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc, in setFunctionSpecVirtual() argument
804 FS_virtualLoc = Loc; in setFunctionSpecVirtual()
808 bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc, in setFunctionSpecExplicit() argument
819 FS_explicitLoc = Loc; in setFunctionSpecExplicit()
823 bool DeclSpec::setFunctionSpecNoreturn(SourceLocation Loc, in setFunctionSpecNoreturn() argument
834 FS_noreturnLoc = Loc; in setFunctionSpecNoreturn()
838 bool DeclSpec::SetFriendSpec(SourceLocation Loc, const char *&PrevSpec, in SetFriendSpec() argument
846 FriendLoc = Loc; in SetFriendSpec()
852 FriendLoc = Loc; in SetFriendSpec()
856 bool DeclSpec::setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec, in setModulePrivateSpec() argument
864 ModulePrivateLoc = Loc; in setModulePrivateSpec()
868 bool DeclSpec::SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec, in SetConstexprSpec() argument
878 ConstexprLoc = Loc; in SetConstexprSpec()
1191 bool VirtSpecifiers::SetSpecifier(Specifier VS, SourceLocation Loc, in SetSpecifier() argument
1193 LastLocation = Loc; in SetSpecifier()
1204 case VS_Override: VS_overrideLoc = Loc; break; in SetSpecifier()
1206 case VS_Final: VS_finalLoc = Loc; break; in SetSpecifier()