Lines Matching refs:Loc

495                      SourceLocation Loc,
508 Loc, Range))
520 CheckNonNullArguments(*I, Args, Loc);
535 SourceLocation Loc) {
539 /*IsMemberFunction=*/true, Loc, SourceRange(), CallType);
1834 SourceLocation Loc, SourceRange Range) {
1839 CallType, Loc, Range);
1847 SourceLocation Loc, SourceRange Range) {
1850 Diag(Loc, diag::warn_missing_format_string) << Range;
1973 bool HandleInvalidConversionSpecifier(unsigned argIndex, SourceLocation Loc,
1978 void HandlePositionalNonpositionalArgs(SourceLocation Loc,
2156 SourceLocation Loc = E->getLocStart();
2157 if (!S.getSourceManager().isInSystemMacro(Loc)) {
2159 Loc, /*IsStringLocation*/false,
2169 SourceLocation Loc,
2192 Loc, /*IsStringLocation*/true,
2199 CheckFormatHandler::HandlePositionalNonpositionalArgs(SourceLocation Loc,
2204 Loc, /*isStringLoc*/true, getSpecifierRange(startSpec, specifierLen));
2228 SourceLocation Loc,
2233 Loc, IsStringLocation, StringRange, FixIt);
2251 /// \param Loc primary location for diagnostic. If two diagnostics are
2252 /// required, one will be at Loc and a new SourceLocation will be created for
2255 /// \param IsStringLocation if true, Loc points to the format string should be
2256 /// used for the note. Otherwise, Loc points to the argument list and will
2267 SourceLocation Loc,
2272 const Sema::SemaDiagnosticBuilder &D = S.Diag(Loc, PDiag);
2279 S.Diag(IsStringLocation ? ArgumentExpr->getExprLoc() : Loc, PDiag)
2283 S.Diag(IsStringLocation ? Loc : StringRange.getBegin(),
3792 void Sema::CheckFloatComparison(SourceLocation Loc, Expr* LHS, Expr *RHS) {
3827 Diag(Loc, diag::warn_floatingpoint_eq)
4696 SourceLocation Loc = E->getSourceRange().getBegin();
4697 if (Loc.isMacroID())
4698 Loc = S.SourceMgr.getImmediateExpansionRange(Loc).first;
4699 if (!Loc.isMacroID() || CC.isMacroID())
4700 S.Diag(Loc, diag::warn_impcast_null_pointer_to_integer)
4702 << FixItHint::CreateReplacement(Loc, S.getFixItZeroLiteralForType(T));
5263 SourceLocation Loc;
5267 Loc = e->getExprLoc();
5351 owner.Loc = pre->getLocation();
5404 assert(owner.Variable && owner.Loc.isValid());
5419 assert(owner.Variable && owner.Loc.isValid());
5423 S.Diag(owner.Loc, diag::note_arc_retain_cycle_owner)
5463 owner.Loc = msg->getSuperLoc();
5483 bool Sema::checkUnsafeAssigns(SourceLocation Loc,
5491 Diag(Loc, diag::warn_arc_retained_assign)
5501 void Sema::checkUnsafeExprAssigns(SourceLocation Loc,
5516 if (checkUnsafeAssigns(Loc, LHSType, RHS))
5542 Diag(Loc, diag::warn_arc_retained_property_assign)
5552 Diag(Loc, diag::warn_arc_retained_assign)