Home | History | Annotate | Download | only in Sema

Lines Matching full:loc

204 bool Sema::makeUnavailableInSystemHeader(SourceLocation loc,
215 if (!Context.getSourceManager().isInSystemHeader(loc))
221 fn->addAttr(new (Context) UnavailableAttr(loc, Context, msg));
868 SourceLocation Loc = Diags.getCurrentDiagLoc();
886 Diag(Loc, diag::warn_cxx98_compat_sfinae_access_control);
931 Sema::Diag(SourceLocation Loc, const PartialDiagnostic& PD) {
932 SemaDiagnosticBuilder Builder(Diag(Loc, PD.getDiagID()));
941 /// expansion loc.
943 SourceLocation loc = locref;
944 if (!loc.isMacroID()) return false;
948 loc = getSourceManager().getExpansionLoc(loc);
952 if (getPreprocessor().getSpelling(loc, buffer) == name) {
953 locref = loc;
1026 Diag(D.Loc, D.PD);
1107 SourceLocation Loc = this->Loc;
1108 if (!Loc.isValid() && TheDecl) Loc = TheDecl->getLocation();
1109 if (Loc.isValid()) {
1110 Loc.print(OS, S.getSourceManager());
1261 static void notePlausibleOverloads(Sema &S, SourceLocation Loc,
1265 return noteOverloads(S, Overloads, Loc);
1275 noteOverloads(S, PlausibleOverloads, Loc);
1293 SourceLocation Loc = E.get()->getExprLoc();
1307 Diag(Loc, PD)
1312 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);
1323 Diag(Loc, PD) << /*not zero-arg*/ 0 << Range;
1324 notePlausibleOverloads(*this, Loc, Overloads, IsPlausibleResult);