Searched refs:RetLoc (Results 1 – 5 of 5) sorted by relevance
119 SourceLocation RetLoc = MatchedDecl->getInnerLocStart(); in check() local123 auto Diag = diag(RetLoc, "function %0 should be marked %1") in check()134 Diag << FixItHint::CreateInsertion(RetLoc, (NoDiscardMacro + " ").str()); in check()
270 SourceLocation RetLoc; in alignas() local2848 SourceLocation getReturnLoc() const { return ReturnStmtBits.RetLoc; } in getReturnLoc()2849 void setReturnLoc(SourceLocation L) { ReturnStmtBits.RetLoc = L; } in setReturnLoc()
378 if (const TypeLoc RetLoc = FTL.getReturnLoc()) in getUserDefinedConversionHighlight() local379 return RetLoc.getSourceRange(); in getUserDefinedConversionHighlight()
2310 if (Optional<Loc> RetLoc = RetVal.getAs<Loc>()) in handle() local2311 EnableNullFPSuppression = State->isNull(*RetLoc).isConstrainedTrue(); in handle()
8700 SourceLocation RetLoc = FD->getReturnTypeSourceRange().getBegin(); in CheckExplicitlyDefaultedComparison() local8701 if (RetLoc.isInvalid()) in CheckExplicitlyDefaultedComparison()8702 RetLoc = FD->getBeginLoc(); in CheckExplicitlyDefaultedComparison()8706 Info.Category, RetLoc, ComparisonCategoryUsage::DefaultedOperator); in CheckExplicitlyDefaultedComparison()