/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ |
H A D | FixIt.h | 64 return FixItHint::CreateReplacement(internal::getSourceRange(Destination), in createReplacement() 71 return FixItHint::CreateReplacement(internal::getSourceRange(Destination), in createReplacement()
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | WhitespaceManager.h | 109 Change(const FormatToken &Tok, bool CreateReplacement, 121 bool CreateReplacement; member
|
H A D | WhitespaceManager.cpp | 35 bool CreateReplacement, in Change() argument 42 : Tok(&Tok), CreateReplacement(CreateReplacement), in Change() 1130 if (!C.CreateReplacement) in alignTrailingComments() 1670 if (C.CreateReplacement) { in generateChanges()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 1320 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in ParseObjCSelectorExpression() 1775 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in CheckMessageArgumentTypes() 1790 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes() 2098 << FixItHint::CreateReplacement(MemberLoc, PDecl->getName()); in HandleExprPropertyRefExpr() 2131 << FixItHint::CreateReplacement(BaseExpr->getSourceRange(), in HandleExprPropertyRefExpr() 2158 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr() 2711 << FixItHint::CreateReplacement( in BuildClassMessage() 3163 Builder.AddFixItHint(FixItHint::CreateReplacement( in BuildInstanceMessage() 3176 Builder.AddFixItHint(FixItHint::CreateReplacement( in BuildInstanceMessage() 3179 Builder.AddFixItHint(FixItHint::CreateReplacement(SuperLoc, "self")); in BuildInstanceMessage() [all …]
|
H A D | SemaAvailability.cpp | 603 FixIts.push_back(FixItHint::CreateReplacement( in DoEmitAvailabilityWarning() 610 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning() 612 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning()
|
H A D | SemaExprMember.cpp | 1061 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr() 1329 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1443 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1708 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
|
H A D | AnalysisBasedWarnings.cpp | 932 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); in DiagUninitUse() 942 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 952 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 972 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
|
H A D | SemaCXXScopeSpec.cpp | 525 << FixItHint::CreateReplacement(IdInfo.CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
H A D | SemaChecking.cpp | 6296 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleInvalidLengthModifier() 6330 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleNonStandardLengthModifier() 6358 << FixItHint::CreateReplacement(CSRange, FixedCS->toString()); in HandleNonStandardConversionSpecifier() 7465 FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 7485 Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 7490 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr() 7795 FixItHint::CreateReplacement( in HandleScanfSpecifier() 8180 << FunctionName << FixItHint::CreateReplacement(Range, FunctionName); in emitReplacement() 8918 << FixItHint::CreateReplacement(OriginalSizeArg->getSourceRange(), in CheckStrlcpycatArguments() 9019 << FixItHint::CreateReplacement(SR, OS.str()); in CheckStrncatArguments() [all …]
|
H A D | SemaStmtAsm.cpp | 557 B << FixItHint::CreateReplacement(Piece.getRange(), SuggestedModifier); in ActOnGCCAsmStmt()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 2014 FixItHint::CreateReplacement(PlusWithSurroundingWhitespace, "["), in getFixits() 2015 FixItHint::CreateReplacement(ClosingParenWithPrecWhitespace, "]")}}; in getFixits() 2120 FixItHint::CreateReplacement(Node->getSourceRange(), SS.str())}; in fixUPCAddressofArraySubscriptWithSpan() 2153 Fixes.push_back(FixItHint::CreateReplacement( in getFixits() 2187 Fixes.push_back(FixItHint::CreateReplacement( in getFixits() 2379 FixIts.push_back(FixItHint::CreateReplacement( in fixLocalVarDeclWithSpan() 2629 return {FixItHint::CreateReplacement(PVD->getSourceRange(), SS.str())}; in fixParamWithSpan() 2723 FixIts.push_back(FixItHint::CreateReplacement( in fixVarDeclWithArray()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseTemplate.cpp | 545 << FixItHint::CreateReplacement(CharSourceRange::getCharRange( in ParseTemplateParameter() 829 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 836 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 1086 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
|
H A D | ParseHLSL.cpp | 116 << FixItHint::CreateReplacement(SourceRange(ArgLoc, EndNumLoc), FixedArg); in fixSeparateAttrArgAndNumber()
|
H A D | ParseInit.cpp | 183 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
|
H A D | ParseDeclCXX.cpp | 218 << FixItHint::CreateReplacement( in ParseNamespace() 1006 return FixItHint::CreateReplacement(BO->getOperatorLoc(), ","); in getStaticAssertNoMessageFixIt() 1033 Diag(Tok, diag::ext_ms_static_assert) << FixItHint::CreateReplacement( in ParseStaticAssertDeclaration() 3349 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration() 3595 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas() 4228 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification() 4489 << FixItHint::CreateReplacement(TokRange, "_Clang"); in TryParseCXX11AttributeIdentifier()
|
H A D | ParseExprCXX.cpp | 70 << FixItHint::CreateReplacement(Range, "< ::"); in FixDigraph() 451 << FixItHint::CreateReplacement(Next.getLocation(), "::"); in ParseOptionalCXXScopeSpecifier() 480 << FixItHint::CreateReplacement(Next.getLocation(), ":"); in ParseOptionalCXXScopeSpecifier() 2887 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
H A D | Parser.cpp | 130 DB << FixItHint::CreateReplacement( in ExpectAndConsume() 2282 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
|
H A D | ParseStmt.cpp | 899 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 977 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
H A D | ParseDecl.cpp | 836 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs() 2534 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup() 2806 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes() 3152 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt() 4165 << FixItHint::CreateReplacement(SourceRange(AutoLoc, in ParseDeclarationSpecifiers() 8581 << FixItHint::CreateReplacement(Loc, "_BitInt"); in DiagnoseBitIntUse()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPDirectives.cpp | 467 auto Hint = FixItHint::CreateReplacement(DirectiveRange, SuggValue); in SuggestTypoedDirective() 2146 << FixItHint::CreateReplacement(FilenameRange, in LookupHeaderIncludeOrImport() 2176 isAngled ? FixItHint::CreateReplacement( in LookupHeaderIncludeOrImport() 2178 : FixItHint::CreateReplacement( in LookupHeaderIncludeOrImport() 2589 FixItHint::CreateReplacement(FilenameRange, Path); in HandleHeaderIncludeOrImport()
|
H A D | PPLexerChange.cpp | 400 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
H A D | LiteralSupport.cpp | 557 << FixItHint::CreateReplacement( in DiagnoseInvalidUnicodeCharacterName() 589 << FixItHint::CreateReplacement( in DiagnoseInvalidUnicodeCharacterName()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 52 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|
H A D | CompilerInstance.cpp | 2112 << FixItHint::CreateReplacement(SourceRange(Path[0].second), in loadModule() 2144 << FixItHint::CreateReplacement(SourceRange(Path[I].second), in loadModule()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | CommentLexer.cpp | 412 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
|