Home
last modified time | relevance | path

Searched refs:CreateReplacement (Results 1 – 25 of 41) sorted by relevance

12

/external/clang/lib/Format/
DWhitespaceManager.h108 Change(bool CreateReplacement, SourceRange OriginalWhitespaceRange,
114 bool CreateReplacement; member
DWhitespaceManager.cpp29 bool CreateReplacement, SourceRange OriginalWhitespaceRange, in Change() argument
34 : CreateReplacement(CreateReplacement), in Change()
460 if (C.CreateReplacement) { in generateChanges()
/external/clang/include/clang/Basic/
DDiagnostic.h115 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() function
123 static FixItHint CreateReplacement(SourceRange RemoveRange, in CreateReplacement() function
125 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement()
/external/clang/lib/AST/
DCommentSema.cpp247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg()
354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg()
797 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); in resolveParamCommandIndexes()
DCommentLexer.cpp376 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
/external/clang/lib/Sema/
DSemaExprObjC.cpp1174 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in ParseObjCSelectorExpression()
1549 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in CheckMessageArgumentTypes()
1565 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes()
1866 << FixItHint::CreateReplacement(MemberLoc, PDecl->getName()); in HandleExprPropertyRefExpr()
1909 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
3375 DiagB.AddFixItHint(FixItHint::CreateReplacement(range, BridgeCall)); in addFixitForObjCARCConversion()
3418 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion()
4214 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge"); in BuildObjCBridgedCast()
4217 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast()
4258 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge "); in BuildObjCBridgedCast()
[all …]
DSemaExprMember.cpp1029 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr()
1258 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1347 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1609 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
DAnalysisBasedWarnings.cpp769 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); in DiagUninitUse()
779 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
789 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
809 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
DSemaChecking.cpp3438 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleInvalidLengthModifier()
3472 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleNonStandardLengthModifier()
3500 << FixItHint::CreateReplacement(CSRange, FixedCS->toString()); in HandleNonStandardConversionSpecifier()
4354 FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr()
4372 Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr()
4377 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr()
4645 FixItHint::CreateReplacement( in HandleScanfSpecifier()
5026 << FunctionName << FixItHint::CreateReplacement(Range, FunctionName); in emitReplacement()
5498 << FixItHint::CreateReplacement(OriginalSizeArg->getSourceRange(), in CheckStrlcpycatArguments()
5602 << FixItHint::CreateReplacement(SR, OS.str()); in CheckStrncatArguments()
[all …]
DSemaStmtAsm.cpp404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
DSemaCXXScopeSpec.cpp574 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
DSemaExpr.cpp593 FixItHint::CreateReplacement(SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess()
607 FixItHint::CreateReplacement( in DiagnoseDirectIsaAccess()
666 FixItHint::CreateReplacement( in DefaultLvalueConversion()
7846 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusInt()
7896 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusChar()
8546 << FixItHint::CreateReplacement(OpRange, " isEqual:") in diagnoseObjCLiteralComparison()
9145 << FixItHint::CreateReplacement(SourceRange( in CheckLogicalOperands()
10435 FixItHint::CreateReplacement(SourceRange(OISA->getOpLoc(), OpLoc), ",") << in CreateBuiltinBinOp()
13888 << FixItHint::CreateReplacement(Loc, "!="); in DiagnoseAssignmentAsCondition()
13891 << FixItHint::CreateReplacement(Loc, "=="); in DiagnoseAssignmentAsCondition()
[all …]
DSema.cpp1254 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
DSemaExprCXX.cpp318 DtorDiag << FixItHint::CreateReplacement(SourceRange(NameLoc), in getDestructorName()
4570 << FixItHint::CreateReplacement(SourceRange(Loc), ".*"); in CheckPointerToMemberOperands()
5703 << FixItHint::CreateReplacement(OpLoc, "."); in ActOnStartCXXMemberReference()
5802 << FixItHint::CreateReplacement(OpLoc, "."); in CheckArrow()
/external/clang/lib/Parse/
DParseTemplate.cpp589 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
594 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
807 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
DParseInit.cpp150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
DParseExprCXX.cpp63 << FixItHint::CreateReplacement(Range, "< ::"); in FixDigraph()
443 << FixItHint::CreateReplacement(Next.getLocation(), "::"); in ParseOptionalCXXScopeSpecifier()
474 << FixItHint::CreateReplacement(Next.getLocation(), ":"); in ParseOptionalCXXScopeSpecifier()
2311 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
DParseDeclCXX.cpp169 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), in ParseNamespace()
2675 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration()
2887 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas()
3437 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification()
DParser.cpp143 DB << FixItHint::CreateReplacement( in ExpectAndConsume()
1823 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
DParseStmt.cpp708 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement()
785 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
DParseExpr.cpp2171 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression()
2226 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
DParseDecl.cpp444 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs()
1827 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup()
2026 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes()
2336 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt()
/external/clang/lib/Lex/
DPPLexerChange.cpp337 << FixItHint::CreateReplacement( in HandleEndOfFile()
DPPDirectives.cpp1495 << FixItHint::CreateReplacement(ReplaceRange, in diagnoseAutoModuleImport()
1654 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()

12