/external/clang/lib/Format/ |
D | WhitespaceManager.h | 108 Change(bool CreateReplacement, SourceRange OriginalWhitespaceRange, 114 bool CreateReplacement; member
|
D | WhitespaceManager.cpp | 29 bool CreateReplacement, SourceRange OriginalWhitespaceRange, in Change() argument 34 : CreateReplacement(CreateReplacement), in Change() 460 if (C.CreateReplacement) { in generateChanges()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 115 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/ |
D | CommentSema.cpp | 247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg() 354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg() 797 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); in resolveParamCommandIndexes()
|
D | CommentLexer.cpp | 376 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 1174 << 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 …]
|
D | SemaExprMember.cpp | 1029 << 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()
|
D | AnalysisBasedWarnings.cpp | 769 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()
|
D | SemaChecking.cpp | 3438 << 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 …]
|
D | SemaStmtAsm.cpp | 404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
|
D | SemaCXXScopeSpec.cpp | 574 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
D | SemaExpr.cpp | 593 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 …]
|
D | Sema.cpp | 1254 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
|
D | SemaExprCXX.cpp | 318 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/ |
D | ParseTemplate.cpp | 589 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 594 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 807 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
|
D | ParseInit.cpp | 150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
|
D | ParseExprCXX.cpp | 63 << 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()
|
D | ParseDeclCXX.cpp | 169 << 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()
|
D | Parser.cpp | 143 DB << FixItHint::CreateReplacement( in ExpectAndConsume() 1823 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
|
D | ParseStmt.cpp | 708 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 785 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
D | ParseExpr.cpp | 2171 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression() 2226 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
|
D | ParseDecl.cpp | 444 << 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/ |
D | PPLexerChange.cpp | 337 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
D | PPDirectives.cpp | 1495 << FixItHint::CreateReplacement(ReplaceRange, in diagnoseAutoModuleImport() 1654 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|