/openbsd/gnu/llvm/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()
|
/openbsd/gnu/llvm/clang/lib/Format/ |
H A D | WhitespaceManager.h | 114 Change(const FormatToken &Tok, bool CreateReplacement, 126 bool CreateReplacement; member
|
H A D | WhitespaceManager.cpp | 30 bool CreateReplacement, in Change() argument 37 : Tok(&Tok), CreateReplacement(CreateReplacement), in Change() 985 if (!Changes[i].CreateReplacement) in alignTrailingComments() 1425 if (C.CreateReplacement) { in generateChanges()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 1774 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes() 2085 << FixItHint::CreateReplacement(MemberLoc, PDecl->getName()); in HandleExprPropertyRefExpr() 2118 << FixItHint::CreateReplacement(BaseExpr->getSourceRange(), in HandleExprPropertyRefExpr() 2144 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr() 2700 << FixItHint::CreateReplacement( in BuildClassMessage() 3153 Builder.AddFixItHint(FixItHint::CreateReplacement( in BuildInstanceMessage() 3166 Builder.AddFixItHint(FixItHint::CreateReplacement( in BuildInstanceMessage() 4668 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge"); in BuildObjCBridgedCast() 4671 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast() 4712 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge "); in BuildObjCBridgedCast() [all …]
|
H A D | SemaAvailability.cpp | 514 FixIts.push_back(FixItHint::CreateReplacement( in DoEmitAvailabilityWarning() 521 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning() 523 FixIts.push_back(FixItHint::CreateReplacement(UseRange, Replacement)); in DoEmitAvailabilityWarning()
|
H A D | SemaExprMember.cpp | 1020 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr() 1283 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1396 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1662 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
|
H A D | AnalysisBasedWarnings.cpp | 908 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); in DiagUninitUse() 918 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 928 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 948 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
|
H A D | SemaCXXScopeSpec.cpp | 614 << FixItHint::CreateReplacement(IdInfo.CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
H A D | SemaStmtAsm.cpp | 555 B << FixItHint::CreateReplacement(Piece.getRange(), SuggestedModifier); in ActOnGCCAsmStmt()
|
H A D | Sema.cpp | 616 << FixItHint::CreateReplacement(E->getSourceRange(), "nullptr"); in diagnoseZeroToNullptrConversion() 2395 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
|
/openbsd/gnu/llvm/clang/lib/Parse/ |
H A D | ParseHLSL.cpp | 115 << FixItHint::CreateReplacement(SourceRange(ArgLoc, EndNumLoc), FixedArg); in fixSeparateAttrArgAndNumber()
|
H A D | ParseTemplate.cpp | 656 << FixItHint::CreateReplacement(CharSourceRange::getCharRange( in ParseTemplateParameter() 926 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 933 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 1176 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
|
H A D | ParseInit.cpp | 180 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
|
H A D | ParseDeclCXX.cpp | 207 << FixItHint::CreateReplacement( in ParseNamespace() 951 return FixItHint::CreateReplacement(BO->getOperatorLoc(), ","); in getStaticAssertNoMessageFixIt() 976 Diag(Tok, diag::ext_ms_static_assert) << FixItHint::CreateReplacement( in ParseStaticAssertDeclaration() 3133 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration() 3357 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas() 3978 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification() 4222 << FixItHint::CreateReplacement(TokRange, "_Clang"); in TryParseCXX11AttributeIdentifier()
|
H A D | ParseExprCXX.cpp | 67 << FixItHint::CreateReplacement(Range, "< ::"); in FixDigraph() 405 << FixItHint::CreateReplacement(Next.getLocation(), "::"); in ParseOptionalCXXScopeSpecifier() 434 << FixItHint::CreateReplacement(Next.getLocation(), ":"); in ParseOptionalCXXScopeSpecifier() 2768 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
H A D | ParseDecl.cpp | 652 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs() 2215 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup() 2470 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes() 2816 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt() 3735 << FixItHint::CreateReplacement(SourceRange(AutoLoc, in ParseDeclarationSpecifiers() 7814 << FixItHint::CreateReplacement(Loc, "_BitInt"); in DiagnoseBitIntUse()
|
H A D | ParseStmt.cpp | 843 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 919 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | CommentSema.cpp | 247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg() 350 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg() 788 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); in resolveParamCommandIndexes()
|
H A D | CommentLexer.cpp | 412 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | Diagnostic.h | 134 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() function 142 static FixItHint CreateReplacement(SourceRange RemoveRange, in CreateReplacement() function 144 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement()
|
/openbsd/gnu/llvm/clang/lib/Lex/ |
H A D | PPDirectives.cpp | 448 auto Hint = FixItHint::CreateReplacement(DirectiveRange, SuggValue); in SuggestTypoedDirective() 2022 << FixItHint::CreateReplacement(FilenameRange, in LookupHeaderIncludeOrImport() 2051 isAngled ? FixItHint::CreateReplacement( in LookupHeaderIncludeOrImport() 2053 : FixItHint::CreateReplacement( in LookupHeaderIncludeOrImport() 2466 FixItHint::CreateReplacement(FilenameRange, Path); in HandleHeaderIncludeOrImport()
|
H A D | PPLexerChange.cpp | 392 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
H A D | LiteralSupport.cpp | 495 << FixItHint::CreateReplacement( in DiagnoseInvalidUnicodeCharacterName() 527 << FixItHint::CreateReplacement( in DiagnoseInvalidUnicodeCharacterName()
|
/openbsd/gnu/llvm/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 52 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|
H A D | CompilerInstance.cpp | 2036 << FixItHint::CreateReplacement(SourceRange(Path[0].second), in loadModule() 2068 << FixItHint::CreateReplacement(SourceRange(Path[I].second), in loadModule()
|