|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/lib/AST/CommentSema.cpp 708 << FixItHint::CreateInsertion(FD->getEndLoc().getLocWithOffset(1),
tools/clang/lib/Frontend/DiagnosticRenderer.cpp 49 MergedFixits.push_back(FixItHint::CreateInsertion(loc, text));
tools/clang/lib/Lex/Lexer.cpp 1836 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " ");
1883 << FixItHint::CreateInsertion(getSourceLocation(CurPtr), " ");
2772 << FixItHint::CreateInsertion(EndLoc, "\n");
3707 << FixItHint::CreateInsertion(
tools/clang/lib/Lex/PPDirectives.cpp 368 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//");
tools/clang/lib/Lex/PPMacroExpansion.cpp 933 DB << FixItHint::CreateInsertion(ParenLocation.getBegin(), "(");
934 DB << FixItHint::CreateInsertion(ParenLocation.getEnd(), ")");
tools/clang/lib/Parse/ParseDecl.cpp 2040 << (Fixit ? FixItHint::CreateInsertion(D.getBeginLoc(), "_Noreturn ")
2320 << FixItHint::CreateInsertion(LAngleLoc, "<>");
2656 << FixItHint::CreateInsertion(Tok.getLocation(), FixitTagName);
4706 << FixItHint::CreateInsertion(Loc, ", ");
6061 << tok::comma << FixItHint::CreateInsertion(EndLoc, ",");
6699 << FixItHint::CreateInsertion(EllipsisLoc, ", ");
6713 << FixItHint::CreateInsertion(ParmDeclarator.getIdentifierLoc(),
6718 << FixItHint::CreateInsertion(EllipsisLoc, ", ");
6924 << FixItHint::CreateInsertion(SuggestParenLoc, "(")
6925 << FixItHint::CreateInsertion(EndLoc, ")")
tools/clang/lib/Parse/ParseDeclCXX.cpp 198 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces);
896 : FixItHint::CreateInsertion(Tok.getLocation(), ", \"\""));
1864 << FixItHint::CreateInsertion(LAngleLoc, "<>");
2392 Insertion = FixItHint::CreateInsertion(VS.getFirstLocation(), Name);
2408 FixItHint Insertion = FixItHint::CreateInsertion(VS.getFirstLocation(), Name);
3121 << tok::colon << FixItHint::CreateInsertion(EndLoc, ":");
3294 LBraceDiag << FixItHint::CreateInsertion(BraceLoc, " {");
3458 << FixItHint::CreateInsertion(Loc, ", ");
tools/clang/lib/Parse/ParseExpr.cpp 391 << tok::colon << FixItHint::CreateInsertion(FILoc, FIText);
1918 << FixItHint::CreateInsertion(LParenLoc, "(")
1919 << FixItHint::CreateInsertion(RParenLoc, ")");
2016 << FixItHint::CreateInsertion(LParenLoc, "(")
2017 << FixItHint::CreateInsertion(RParenLoc, ")");
3147 << FixItHint::CreateInsertion(InsertWildcardLoc, ", *");
tools/clang/lib/Parse/ParseExprCXX.cpp 523 << FixItHint::CreateInsertion(Tok.getLocation(), "template ");
1099 D << InitCapture << FixItHint::CreateInsertion(ExpectedLoc, "...");
1403 << FixItHint::CreateInsertion(Tok.getLocation(), "() ");
2299 << FixItHint::CreateInsertion(Id.StartLocation, "template ");
2877 << FixItHint::CreateInsertion(Tok.getLocation(), "~");
3192 << FixItHint::CreateInsertion(LSquareLoc, "(")
3193 << FixItHint::CreateInsertion(
tools/clang/lib/Parse/ParseInit.cpp 401 << FixItHint::CreateInsertion(Tok.getLocation(), "= ");
tools/clang/lib/Parse/ParseObjc.cpp 178 << FixItHint::CreateInsertion(AtLoc, "@end\n");
704 << FixItHint::CreateInsertion(AtLoc, "@end\n");
786 << FixItHint::CreateInsertion(Tok.getLocation(), "\n@end\n");
1576 << FixItHint::CreateInsertion(lAngleLoc, "id")
2242 << FixItHint::CreateInsertion(P.Tok.getLocation(), "\n@end\n");
tools/clang/lib/Parse/ParsePragma.cpp 1390 Diagnostic << FixItHint::CreateInsertion(FixItRange.getBegin(), FixIt);
1483 << FixItHint::CreateInsertion(InsertStartLoc, "__attribute__((")
1484 << FixItHint::CreateInsertion(Tok.getEndLoc(), "))");
tools/clang/lib/Parse/ParseStmt.cpp 449 << FixItHint::CreateInsertion(OldToken.getLocation(), "case ");
754 << FixItHint::CreateInsertion(ExpectedLoc, ":");
793 << FixItHint::CreateInsertion(AfterColonLoc, " ;");
835 << FixItHint::CreateInsertion(ExpectedLoc, ":");
848 << FixItHint::CreateInsertion(AfterColonLoc, " ;");
1699 ? FixItHint::CreateInsertion(Loc, "auto &&")
tools/clang/lib/Parse/ParseTemplate.cpp 295 << FixItHint::CreateInsertion(LAngleLoc, "<>");
713 : FixItHint::CreateInsertion(Tok.getLocation(), "class "));
836 Insertion = FixItHint::CreateInsertion(CorrectLoc, "...");
955 Hint2 = FixItHint::CreateInsertion(Next.getLocation(), " ");
tools/clang/lib/Parse/Parser.cpp 97 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(")
98 << FixItHint::CreateInsertion(EndLoc, ")");
143 ? Diag(EndLoc, DiagID) << FixItHint::CreateInsertion(EndLoc, Spelling)
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp 99 << FixItHint::CreateInsertion(Open, "/* DISABLES CODE */ (")
100 << FixItHint::CreateInsertion(Close, ")");
760 << FixItHint::CreateInsertion(VD->getLocation(), "__block ");
780 << FixItHint::CreateInsertion(Loc, Init);
1307 << FixItHint::CreateInsertion(L, TextToInsert);
1310 << FixItHint::CreateInsertion(L, "break; ");
tools/clang/lib/Sema/DeclSpec.cpp 1222 << FixItHint::CreateInsertion(
tools/clang/lib/Sema/Sema.cpp 2129 ? FixItHint::CreateInsertion(ParenInsertionLoc, "()")
tools/clang/lib/Sema/SemaAttr.cpp 384 DB << FixItHint::CreateInsertion(FixItLoc, "pop");
tools/clang/lib/Sema/SemaCast.cpp 1960 << FD << DstCCName << FixItHint::CreateInsertion(NameLoc, CCAttrText);
tools/clang/lib/Sema/SemaChecking.cpp 7202 << FixItHint::CreateInsertion(FormatLoc, "\"%s\", ");
7206 << FixItHint::CreateInsertion(FormatLoc, "@\"%@\", ");
7959 << "c_str()" << FixItHint::CreateInsertion(EndLoc, ".c_str()");
8482 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str()));
8487 FixItHint::CreateInsertion(E->getBeginLoc(), CastFix.str()));
8490 Hints.push_back(FixItHint::CreateInsertion(After, ")"));
9330 << FixItHint::CreateInsertion(
9334 << FixItHint::CreateInsertion(SizeRange.getBegin(), "(size_t)(")
9335 << FixItHint::CreateInsertion(S.getLocForEndOfToken(SizeRange.getEnd()),
9760 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)"));
11089 Builder << FixItHint::CreateInsertion(SourceExpr->getBeginLoc(), "(")
11090 << FixItHint::CreateInsertion(EndLoc, ")");
11091 Builder << FixItHint::CreateInsertion(EndLoc, " ? YES : NO");
12375 << FixItHint::CreateInsertion(E->getBeginLoc(), "&");
12404 << FixItHint::CreateInsertion(getLocForEndOfToken(E->getEndLoc()), "()");
tools/clang/lib/Sema/SemaDecl.cpp 758 << FixItHint::CreateInsertion(SS->getRange().getBegin(), "typename ");
817 << FixItHint::CreateInsertion(NameLoc, FixItTagName);
2754 << InitDecl << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling);
2765 << FixItHint::CreateInsertion(InsertLoc, SuitableSpelling);
4364 << FixItHint::CreateInsertion(tagLoc, textToInsert);
4842 << FixItHint::CreateInsertion(Record->getLocation(), "static ");
7550 << FixItHint::CreateInsertion(NewVD->getLocation(), "*");
8719 << FixItHint::CreateInsertion(InsertLoc, "<>");
10342 << FixItHint::CreateInsertion(AddConstLoc, " const");
11901 << FixItHint::CreateInsertion(VDecl->getBeginLoc(), "constexpr ");
11917 << FixItHint::CreateInsertion(VDecl->getBeginLoc(), "constexpr ");
13206 << FixItHint::CreateInsertion(TypeEndLoc, "*");
13242 << FixItHint::CreateInsertion(LocAfterDecls, Code);
13754 << FixItHint::CreateInsertion(P.first, "self->");
13864 ? FixItHint::CreateInsertion(FTL.getRParenLoc(), "void")
13871 ? FixItHint::CreateInsertion(FD->getTypeSpecStartLoc(),
14663 return FixItHint::CreateInsertion(NameLoc, Insertion);
16581 << FixItHint::CreateInsertion(FD->getLocation(), "*");
tools/clang/lib/Sema/SemaDeclAttr.cpp 375 << FixItHint::CreateInsertion(Loc->Loc, "\"")
376 << FixItHint::CreateInsertion(getLocForEndOfToken(Loc->Loc), "\"");
7896 FixitNoteDiag << FixItHint::CreateInsertion(
8000 FixItHint::CreateInsertion(Locs[I], SelectorSlotNames[I]));
8389 FixitDiag << FixItHint::CreateInsertion(IfInsertionLoc, FixItOS.str());
8402 FixitDiag << FixItHint::CreateInsertion(ElseInsertionLoc, FixItOS.str());
tools/clang/lib/Sema/SemaDeclCXX.cpp 3275 B << 0 << FixItHint::CreateInsertion(ConstexprLoc, "static ");
6373 << FixItHint::CreateInsertion(
7081 << (int)DCK << FixItHint::CreateInsertion(InsertLoc, " const");
8715 << FixItHint::CreateInsertion(ParamLoc, ConstRef);
9016 DB << FixItHint::CreateInsertion(InsertLoc, " ")
9295 << FixItHint::CreateInsertion(KeywordLoc, "inline ");
9983 << FixItHint::CreateInsertion(SS.getRange().getBegin(), "using ");
10814 << FixItHint::CreateInsertion(SS.getBeginLoc(),
10823 << FixItHint::CreateInsertion(
14554 << FixItHint::CreateInsertion(getLocForEndOfToken(FriendLoc),
tools/clang/lib/Sema/SemaDeclObjC.cpp 244 << FixItHint::CreateInsertion(method->getSelectorLoc(0), "(void)");
688 << FixItHint::CreateInsertion(starLoc, " *");
895 diag << FixItHint::CreateInsertion(newTypeParam->getBeginLoc(),
961 << FixItHint::CreateInsertion(insertionLoc, newCode);
1508 << FixItHint::CreateInsertion(getLocForEndOfToken(firstClassNameLoc),
1601 << FixItHint::CreateInsertion(starLoc, " *");
4040 << FixItHint::CreateInsertion(SuperClassLoc, " : NSObject ");
4571 << FixItHint::CreateInsertion(SelectorLocs.front(), "(id)");
tools/clang/lib/Sema/SemaExceptionSpec.cpp 455 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str());
tools/clang/lib/Sema/SemaExpr.cpp 195 << Cur << FixItHint::CreateInsertion(DeclBegin, "static ");
427 << FixItHint::CreateInsertion(MissingNilLoc, ", " + NullValue);
527 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
531 << FixItHint::CreateInsertion(RHSLocEnd, ")");
542 << FixItHint::CreateInsertion(OIRE->getBeginLoc(),
601 << FixItHint::CreateInsertion(OISA->getBeginLoc(), "object_getClass(")
1967 << FixItHint::CreateInsertion(R.getNameLoc(), "this->");
2141 DB << FixItHint::CreateInsertion(Loc, "this->");
2456 D << FixItHint::CreateInsertion(Loc, "typename ");
7612 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(")
7613 << FixItHint::CreateInsertion(EndLoc, ")");
9512 << FixItHint::CreateInsertion(LHSExpr->getBeginLoc(), "&")
9514 << FixItHint::CreateInsertion(EndLoc, "]");
9562 << FixItHint::CreateInsertion(LHSExpr->getBeginLoc(), "&")
9564 << FixItHint::CreateInsertion(EndLoc, "]");
10247 << FixItHint::CreateInsertion(Start, Opc == BO_EQ ? "[" : "![")
10249 << FixItHint::CreateInsertion(End, "]");
10281 << FixItHint::CreateInsertion(FirstOpen, "(")
10282 << FixItHint::CreateInsertion(FirstClose, ")");
10291 << FixItHint::CreateInsertion(SecondOpen, "(")
10292 << FixItHint::CreateInsertion(SecondClose, ")");
12070 << FixItHint::CreateInsertion(LHS->getBeginLoc(),
12073 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(LHS->getEndLoc()),
12402 << FixItHint::CreateInsertion(op->getSourceRange().getBegin(), Qual);
13035 << FixItHint::CreateInsertion(LHS.get()->getBeginLoc(),
13039 << FixItHint::CreateInsertion(RHSLocEnd, ")");
14606 << FixItHint::CreateInsertion(SL->getBeginLoc(), "@");
17228 << FixItHint::CreateInsertion(Open, "(")
17229 << FixItHint::CreateInsertion(Close, ")");
tools/clang/lib/Sema/SemaExprCXX.cpp 3163 H = FixItHint::CreateInsertion(EndOfDelete, "[]");
3338 << FixItHint::CreateInsertion(getLocForEndOfToken(StartLoc), "[]");
3613 << FixItHint::CreateInsertion(DtorLoc, TypeStr + "::");
tools/clang/lib/Sema/SemaExprObjC.cpp 436 << FixItHint::CreateInsertion(OrigElement->getBeginLoc(), "@");
452 << FixItHint::CreateInsertion(OrigElement->getBeginLoc(), "@");
1140 << Method->getSelector() << FixItHint::CreateInsertion(LParenLoc, "(")
1141 << FixItHint::CreateInsertion(RParenLoc, ")");
2310 Builder.AddFixItHint(FixItHint::CreateInsertion(Edit.OrigLoc,
2461 << FixItHint::CreateInsertion(Loc, "[");
2697 << FixItHint::CreateInsertion(Loc, "[");
3598 DiagB.AddFixItHint(FixItHint::CreateInsertion(range.getBegin(),
3602 DiagB.AddFixItHint(FixItHint::CreateInsertion(range.getBegin(),
3604 DiagB.AddFixItHint(FixItHint::CreateInsertion(
3612 DiagB.AddFixItHint(FixItHint::CreateInsertion(afterLParen, bridgeKeyword));
3631 DiagB.AddFixItHint(FixItHint::CreateInsertion(range.getBegin(),
3635 DiagB.AddFixItHint(FixItHint::CreateInsertion(range.getBegin(),
3637 DiagB.AddFixItHint(FixItHint::CreateInsertion(
4130 << FixItHint::CreateInsertion(SrcExpr->getBeginLoc(),
4132 << FixItHint::CreateInsertion(SrcExprEndLoc, "]");
4163 << FixItHint::CreateInsertion(SrcExprEndLoc, ExpressionString);
4173 << FixItHint::CreateInsertion(SrcExpr->getBeginLoc(), "[")
4174 << FixItHint::CreateInsertion(SrcExprEndLoc, ExpressionString);
tools/clang/lib/Sema/SemaFixItUtils.cpp 112 Hints.push_back(FixItHint::CreateInsertion(Begin, "*("));
113 Hints.push_back(FixItHint::CreateInsertion(End, ")"));
115 Hints.push_back(FixItHint::CreateInsertion(Begin, "*"));
146 Hints.push_back(FixItHint::CreateInsertion(Begin, "&("));
147 Hints.push_back(FixItHint::CreateInsertion(End, ")"));
149 Hints.push_back(FixItHint::CreateInsertion(Begin, "&"));
tools/clang/lib/Sema/SemaInit.cpp 1083 << FixItHint::CreateInsertion(
1085 << FixItHint::CreateInsertion(
7765 << FixItHint::CreateInsertion(ZeroInitializationFixitLoc,
8755 << FixItHint::CreateInsertion(Args.front()->getBeginLoc(), "u8");
9573 << FixItHint::CreateInsertion(PostInit->getBeginLoc(), OS.str())
9574 << FixItHint::CreateInsertion(
tools/clang/lib/Sema/SemaLambda.cpp 1745 << FixItHint::CreateInsertion(
tools/clang/lib/Sema/SemaModule.cpp 113 << FixItHint::CreateInsertion(ModuleLoc, "export ");
156 << FixItHint::CreateInsertion(BeginLoc, "module;\n");
273 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export ");
542 << FixItHint::CreateInsertion(ModuleScopes.back().BeginLoc, "export ");
tools/clang/lib/Sema/SemaObjCProperty.cpp 614 << FixItHint::CreateInsertion(StarLoc, "*");
1886 << FixItHint::CreateInsertion(AtEnd, FixIt);
2189 << FixItHint::CreateInsertion(AfterLParen, NonatomicStr);
2196 << FixItHint::CreateInsertion(startLoc, "(nonatomic) ");
2256 noteDiag << FixItHint::CreateInsertion(fixItLoc, fixItText);
tools/clang/lib/Sema/SemaOverload.cpp 5742 << FixItHint::CreateInsertion(From->getBeginLoc(),
5744 << FixItHint::CreateInsertion(
tools/clang/lib/Sema/SemaPseudoObject.cpp 1073 << T << FixItHint::CreateInsertion(FromE->getExprLoc(), "@");
tools/clang/lib/Sema/SemaStmt.cpp 2333 << Range->getType() << FixItHint::CreateInsertion(RangeLoc, "*");
tools/clang/lib/Sema/SemaStmtAttr.cpp 33 << FixItHint::CreateInsertion(L, ";");
tools/clang/lib/Sema/SemaTemplate.cpp 319 << FixItHint::CreateInsertion(IILoc, "template ");
2745 << FixItHint::CreateInsertion(ExpectedTemplateLoc, "template<> ");
4540 << FixItHint::CreateInsertion(Loc, "typename ");
5844 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), Code)
5845 << FixItHint::CreateInsertion(S.getLocForEndOfToken(Arg->getEndLoc()),
6183 << ParamType << FixItHint::CreateInsertion(Arg->getBeginLoc(), "&");
10041 << FixItHint::CreateInsertion(Loc, "typename ");
tools/clang/lib/Sema/SemaTemplateVariadic.cpp 1151 << FixItHint::CreateInsertion(E->getBeginLoc(), "(")
1152 << FixItHint::CreateInsertion(E->getEndLoc(), ")");
tools/clang/lib/Sema/SemaType.cpp 1352 << FixItHint::CreateInsertion(DS.getBeginLoc(), "int");
2461 FixItHint::CreateInsertion(Loc, "*");
2469 << 0 << T << FixItHint::CreateInsertion(Loc, "*");
2559 FixItHint::CreateInsertion(Loc, "*");
3294 << FixItHint::CreateInsertion(B, "(")
3295 << FixItHint::CreateInsertion(E, ")");
3427 << FixItHint::CreateInsertion(Paren.Loc, " varname") << T
3432 << FixItHint::CreateInsertion(D.getBeginLoc(), "(")
3433 << FixItHint::CreateInsertion(S.getLocForEndOfToken(D.getEndLoc()), ")");
3832 Diag << FixItHint::CreateInsertion(FixItLoc, InsertionText);
4671 << FixItHint::CreateInsertion(FixitLoc, "*");
5068 << FixItHint::CreateInsertion(FTI.getRParenLoc(), "void");
6744 << FixItHint::CreateInsertion(
7677 << FixItHint::CreateInsertion(
tools/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp 156 FixItHint Fixit = FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/abseil/DurationDivisionCheck.cpp 44 << FixItHint::CreateInsertion(OpCall->getBeginLoc(),
49 << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/abseil/StrCatAppendCheck.cpp 96 << FixItHint::CreateInsertion(Call->getArg(0)->getBeginLoc(), "&");
tools/clang/tools/extra/clang-tidy/abseil/UpgradeDurationConversionsCheck.cpp 156 Diag << FixItHint::CreateInsertion(SourceRange.getBegin(),
158 << FixItHint::CreateInsertion(SourceRange.getEnd(), ")");
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 71 << FixItHint::CreateInsertion(EndLoc, (Twine(" | ") + MacroFlag).str());
tools/clang/tools/extra/clang-tidy/bugprone/ArgumentCommentCheck.cpp 324 << FixItHint::CreateInsertion(Args[I]->getBeginLoc(), ArgComment);
tools/clang/tools/extra/clang-tidy/bugprone/BoolPointerImplicitConversionCheck.cpp 67 << FixItHint::CreateInsertion(Var->getBeginLoc(), "*");
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp 83 FixItHint::CreateInsertion(CExpr->getEndLoc(), ParamName));
115 Diag << FixItHint::CreateInsertion(FixItLoc, FixItMsg);
tools/clang/tools/extra/clang-tidy/bugprone/InaccurateEraseCheck.cpp 66 Hint = FixItHint::CreateInsertion(EndLoc, ", " + ReplacementText);
tools/clang/tools/extra/clang-tidy/bugprone/MacroParenthesesCheck.cpp 148 << FixItHint::CreateInsertion(MI->tokens_begin()->getLocation(), "(")
149 << FixItHint::CreateInsertion(Last.getLocation().getLocWithOffset(
244 << FixItHint::CreateInsertion(Tok.getLocation(), "(")
245 << FixItHint::CreateInsertion(Tok.getLocation().getLocWithOffset(
tools/clang/tools/extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp 352 Diag << FixItHint::CreateInsertion(LengthExpr->getBeginLoc(), "(");
361 Diag << FixItHint::CreateInsertion(exprLocEnd(LengthExpr, Result), Injection);
391 Diag << FixItHint::CreateInsertion(Dest->getBeginLoc(), "(char *)");
463 const auto InsertNewArgFix = FixItHint::CreateInsertion(
489 const auto AddNullTerminatorExprFix = FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 166 Diag << FixItHint::CreateInsertion(Loc, IsWideCharType ? "L'" : "'")
167 << FixItHint::CreateInsertion(EndLoc, "'");
171 Diag << FixItHint::CreateInsertion(Loc, IsWideCharType ? "L\"" : "\"")
172 << FixItHint::CreateInsertion(EndLoc, "\"");
177 Diag << FixItHint::CreateInsertion(Loc, IsWideCharType ? "std::to_wstring("
179 << FixItHint::CreateInsertion(EndLoc, ")");
tools/clang/tools/extra/clang-tidy/bugprone/SuspiciousStringCompareCheck.cpp 181 << Decl << FixItHint::CreateInsertion(EndLoc, " != 0");
195 << FixItHint::CreateInsertion(EndLoc, " == 0");
tools/clang/tools/extra/clang-tidy/bugprone/UnusedRaiiCheck.cpp 85 D << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/cert/PostfixOperatorCheck.cpp 83 Diag << FixItHint::CreateInsertion(Location, "const ");
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/InitVariablesCheck.cpp 90 << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp 90 Diag << FixItHint::CreateInsertion(BaseRange.getBegin(), "gsl::at(")
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp 82 diag_builder << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 243 Diag << FixItHint::CreateInsertion(Insertion.getLocation(Context, *Ctor),
473 Diag << FixItHint::CreateInsertion(
531 Diag << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/darwin/DispatchOnceNonstaticCheck.cpp 49 << FixItHint::CreateInsertion(VD->getTypeSpecStartLoc(), "static ");
tools/clang/tools/extra/clang-tidy/google/AvoidCStyleCastsCheck.cpp 140 Diag << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/google/ExplicitConstructorCheck.cpp 101 << Conversion << FixItHint::CreateInsertion(Loc, "explicit ");
150 << FixItHint::CreateInsertion(Loc, "explicit ");
tools/clang/tools/extra/clang-tidy/llvm/TwineLocalCheck.cpp 52 << FixItHint::CreateInsertion(VD->getInit()->getBeginLoc(), "(")
53 << FixItHint::CreateInsertion(EndLoc, ").str()");
tools/clang/tools/extra/clang-tidy/misc/DefinitionsInHeadersCheck.cpp 135 << FixItHint::CreateInsertion(FD->getInnerLocStart(), "inline ");
tools/clang/tools/extra/clang-tidy/misc/StaticAssertCheck.cpp 136 FixItHint::CreateInsertion(LastParenLoc, StaticAssertMSG));
tools/clang/tools/extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp 181 Diag << FixItHint::CreateInsertion(
251 Diag << FixItHint::CreateInsertion(ExprStart, "*");
tools/clang/tools/extra/clang-tidy/modernize/PassByValueCheck.cpp 221 Diag << FixItHint::CreateInsertion(Initializer->getRParenLoc(), ")")
222 << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp 159 << FixItHint::CreateInsertion(Range.getBegin(), "std::move(")
160 << FixItHint::CreateInsertion(Range.getEnd(), ")");
tools/clang/tools/extra/clang-tidy/modernize/ReplaceRandomShuffleCheck.cpp 80 DiagL << FixItHint::CreateInsertion(
95 Diag << FixItHint::CreateInsertion(MatchedDecl->getBeginLoc(), NewName);
tools/clang/tools/extra/clang-tidy/modernize/UseDefaultMemberInitCheck.cpp 264 << FixItHint::CreateInsertion(FieldEnd, CanAssign ? " = " : "{")
268 Diag << FixItHint::CreateInsertion(
272 Diag << FixItHint::CreateInsertion(FieldEnd, "}");
tools/clang/tools/extra/clang-tidy/modernize/UseEqualsDeleteCheck.cpp 68 << FixItHint::CreateInsertion(EndLoc, " = delete");
tools/clang/tools/extra/clang-tidy/modernize/UseNodiscardCheck.cpp 139 Diag << FixItHint::CreateInsertion(RetLoc, NoDiscardMacro + " ");
tools/clang/tools/extra/clang-tidy/modernize/UseOverrideCheck.cpp 211 Diag << FixItHint::CreateInsertion(InsertLoc, ReplacementText);
tools/clang/tools/extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp 473 << FixItHint::CreateInsertion(InsertionLoc, " -> " + ReturnType);
tools/clang/tools/extra/clang-tidy/modernize/UseUncaughtExceptionsCheck.cpp 90 Diag << FixItHint::CreateInsertion(BeginLoc.getLocWithOffset(TextLength),
tools/clang/tools/extra/clang-tidy/performance/InefficientVectorOperationCheck.cpp 266 Diag << FixItHint::CreateInsertion(LoopStmt->getBeginLoc(), ReserveStmt);
tools/clang/tools/extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp 64 Diag << FixItHint::CreateInsertion(NoexceptLoc, " noexcept ");
tools/clang/tools/extra/clang-tidy/performance/UnnecessaryValueParamCheck.cpp 202 Diag << FixItHint::CreateInsertion(CopyArgument.getBeginLoc(), "std::move(")
203 << FixItHint::CreateInsertion(EndLoc, ")");
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 266 Diag << FixItHint::CreateInsertion(StartLoc, " {")
267 << FixItHint::CreateInsertion(EndLoc, ClosingInsertion);
tools/clang/tools/extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp 167 Diag << FixItHint::CreateInsertion(Declaration->getBeginLoc(), "static ");
tools/clang/tools/extra/clang-tidy/readability/ImplicitBoolConversionCheck.cpp 124 Diag << FixItHint::CreateInsertion(Cast->getBeginLoc(), StartLocInsertion);
148 Diag << FixItHint::CreateInsertion(EndLoc, EndLocInsertion);
184 Diag << FixItHint::CreateInsertion(
194 Diag << FixItHint::CreateInsertion(EndLoc, ")");
tools/clang/tools/extra/clang-tidy/readability/NamedParameterCheck.cpp 118 D << FixItHint::CreateInsertion(Parm->getLocation(),
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp 147 Fixes.push_back(FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/readability/SimplifySubscriptExprCheck.cpp 62 DiagBuilder << FixItHint::CreateInsertion(Member->getBeginLoc(), "(*")
63 << FixItHint::CreateInsertion(Member->getOperatorLoc(), ")");
tools/clang/tools/extra/clang-tidy/readability/StringCompareCheck.cpp 68 Diag << FixItHint::CreateInsertion(Str1->getBeginLoc(), "*");
tools/clang/tools/extra/clang-tidy/utils/FixItHintUtils.cpp 26 return FixItHint::CreateInsertion(AmpLocation, "&");
30 return FixItHint::CreateInsertion(Var.getTypeSpecStartLoc(), "const ");
tools/clang/tools/extra/clang-tidy/utils/HeaderGuard.cpp 247 << FixItHint::CreateInsertion(
249 << FixItHint::CreateInsertion(
tools/clang/tools/extra/clang-tidy/utils/IncludeSorter.cpp 122 return FixItHint::CreateInsertion(
133 return FixItHint::CreateInsertion(Location.getBegin(), IncludeStmt);
142 return FixItHint::CreateInsertion(LastIncludeLocation.getEnd(),
167 return FixItHint::CreateInsertion(LastIncludeLocation.getEnd(),
174 return FixItHint::CreateInsertion(FirstIncludeLocation.getBegin(),
tools/clang/tools/extra/clang-tidy/utils/NamespaceAliaser.cpp 75 return FixItHint::CreateInsertion(Loc, Declaration);
tools/clang/tools/extra/clang-tidy/utils/UsingInserter.cpp 74 return FixItHint::CreateInsertion(InsertLoc, Declaration);
tools/clang/tools/extra/unittests/clang-tidy/NamespaceAliaserTest.cpp 40 diag(Call->getBeginLoc(), "insert call") << FixItHint::CreateInsertion(