Lines Matching full:loc
33 static DiagnosticBuilder Diag(DiagnosticsEngine &D, SourceLocation Loc,
35 return D.Report(Loc, DiagID);
178 I.Loc = LocalRangeBegin;
470 bool DeclSpec::SetStorageClassSpec(Sema &S, SCS SC, SourceLocation Loc,
507 return SetTypeSpecType(TST_auto, Loc, PrevSpec, DiagID);
525 StorageClassSpecLoc = Loc;
530 bool DeclSpec::SetStorageClassSpecThread(TSCS TSC, SourceLocation Loc,
537 ThreadStorageClassSpecLoc = Loc;
544 bool DeclSpec::SetTypeSpecWidth(TSW W, SourceLocation Loc,
550 TSWLoc = Loc;
564 bool DeclSpec::SetTypeSpecComplex(TSC C, SourceLocation Loc,
570 TSCLoc = Loc;
574 bool DeclSpec::SetTypeSpecSign(TSS S, SourceLocation Loc,
580 TSSLoc = Loc;
584 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc,
588 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep);
611 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc,
624 TSTLoc = Loc;
625 TSTNameLoc = Loc;
630 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc,
634 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned);
658 bool DeclSpec::SetTypeSpecType(TST T, SourceLocation Loc,
668 TSTLoc = Loc;
669 TSTNameLoc = Loc;
684 bool DeclSpec::SetTypeAltiVecVector(bool isAltiVecVector, SourceLocation Loc,
692 AltiVecLoc = Loc;
696 bool DeclSpec::SetTypeAltiVecPixel(bool isAltiVecPixel, SourceLocation Loc,
705 TSTLoc = Loc;
706 TSTNameLoc = Loc;
710 bool DeclSpec::SetTypeAltiVecBool(bool isAltiVecBool, SourceLocation Loc,
719 TSTLoc = Loc;
720 TSTNameLoc = Loc;
732 bool DeclSpec::SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec,
747 case TQ_const: TQ_constLoc = Loc; return false;
748 case TQ_restrict: TQ_restrictLoc = Loc; return false;
749 case TQ_volatile: TQ_volatileLoc = Loc; return false;
750 case TQ_atomic: TQ_atomicLoc = Loc; return false;
756 bool DeclSpec::setFunctionSpecInline(SourceLocation Loc) {
759 FS_inlineLoc = Loc;
763 bool DeclSpec::setFunctionSpecVirtual(SourceLocation Loc) {
766 FS_virtualLoc = Loc;
770 bool DeclSpec::setFunctionSpecExplicit(SourceLocation Loc) {
773 FS_explicitLoc = Loc;
777 bool DeclSpec::setFunctionSpecNoreturn(SourceLocation Loc) {
780 FS_noreturnLoc = Loc;
784 bool DeclSpec::SetFriendSpec(SourceLocation Loc, const char *&PrevSpec,
793 FriendLoc = Loc;
797 bool DeclSpec::setModulePrivateSpec(SourceLocation Loc, const char *&PrevSpec,
805 ModulePrivateLoc = Loc;
809 bool DeclSpec::SetConstexprSpec(SourceLocation Loc, const char *&PrevSpec,
813 ConstexprLoc = Loc;
1099 bool VirtSpecifiers::SetSpecifier(Specifier VS, SourceLocation Loc,
1101 LastLocation = Loc;
1112 case VS_Override: VS_overrideLoc = Loc; break;
1113 case VS_Final: VS_finalLoc = Loc; break;