/external/clang/lib/Format/ |
D | WhitespaceManager.h | 108 Change(bool CreateReplacement, SourceRange OriginalWhitespaceRange, 115 bool CreateReplacement; member
|
D | WhitespaceManager.cpp | 29 bool CreateReplacement, SourceRange OriginalWhitespaceRange, in Change() argument 34 : CreateReplacement(CreateReplacement), in Change() 360 if (!Changes[i].CreateReplacement) in alignTrailingComments() 482 if (C.CreateReplacement) { in generateChanges()
|
/external/clang/include/clang/Tooling/ |
D | FixIt.h | 64 return FixItHint::CreateReplacement(internal::getSourceRange(Destination), in createReplacement()
|
/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/Sema/ |
D | SemaExprObjC.cpp | 1171 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in ParseObjCSelectorExpression() 1546 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in CheckMessageArgumentTypes() 1562 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes() 1866 << FixItHint::CreateReplacement(MemberLoc, PDecl->getName()); in HandleExprPropertyRefExpr() 1900 << FixItHint::CreateReplacement(BaseExpr->getSourceRange(), in HandleExprPropertyRefExpr() 1926 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr() 3404 DiagB.AddFixItHint(FixItHint::CreateReplacement(range, BridgeCall)); in addFixitForObjCARCConversion() 3447 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion() 4263 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge"); in BuildObjCBridgedCast() 4266 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast() [all …]
|
D | SemaExprMember.cpp | 1069 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr() 1321 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1412 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1674 << 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 | 4275 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleInvalidLengthModifier() 4309 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleNonStandardLengthModifier() 4337 << FixItHint::CreateReplacement(CSRange, FixedCS->toString()); in HandleNonStandardConversionSpecifier() 5238 FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 5255 Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 5260 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr() 5528 FixItHint::CreateReplacement( in HandleScanfSpecifier() 5915 << FunctionName << FixItHint::CreateReplacement(Range, FunctionName); in emitReplacement() 6385 << FixItHint::CreateReplacement(OriginalSizeArg->getSourceRange(), in CheckStrlcpycatArguments() 6489 << FixItHint::CreateReplacement(SR, OS.str()); in CheckStrncatArguments() [all …]
|
D | SemaStmtAsm.cpp | 404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
|
D | SemaCXXScopeSpec.cpp | 598 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
D | SemaExpr.cpp | 605 FixItHint::CreateReplacement(SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess() 619 FixItHint::CreateReplacement( in DiagnoseDirectIsaAccess() 678 FixItHint::CreateReplacement( in DefaultLvalueConversion() 8282 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusInt() 8332 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusChar() 8982 << FixItHint::CreateReplacement(OpRange, " isEqual:") in diagnoseObjCLiteralComparison() 9582 << FixItHint::CreateReplacement(SourceRange( in CheckLogicalOperands() 10962 FixItHint::CreateReplacement(SourceRange(OISA->getOpLoc(), OpLoc), ",") << in CreateBuiltinBinOp() 14336 << FixItHint::CreateReplacement(Loc, "!="); in DiagnoseAssignmentAsCondition() 14339 << FixItHint::CreateReplacement(Loc, "=="); in DiagnoseAssignmentAsCondition() [all …]
|
/external/clang/lib/AST/ |
D | CommentSema.cpp | 247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg() 354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg() 795 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); in resolveParamCommandIndexes()
|
D | CommentLexer.cpp | 385 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
|
/external/clang/lib/Parse/ |
D | ParseTemplate.cpp | 594 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 599 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 811 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() 2390 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
D | ParseDeclCXX.cpp | 169 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), in ParseNamespace() 2695 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration() 2907 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXClassMemberDeclarationWithPragmas() 3462 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification()
|
D | ParseStmt.cpp | 721 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 800 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
D | Parser.cpp | 143 DB << FixItHint::CreateReplacement( in ExpectAndConsume() 1845 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
|
D | ParseExpr.cpp | 2219 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression() 2274 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
|
D | ParseDecl.cpp | 445 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs() 1863 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup() 2062 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes() 2391 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt()
|
/external/clang/lib/Lex/ |
D | PPDirectives.cpp | 1637 << FixItHint::CreateReplacement(ReplaceRange, in diagnoseAutoModuleImport() 1828 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective() 1978 FixItHint::CreateReplacement(Range, Replacement); in HandleIncludeDirective()
|
D | PPLexerChange.cpp | 337 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 44 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|
/external/v8/tools/clang/plugins/ |
D | FindBadConstructsConsumer.cpp | 1058 << FixItHint::CreateReplacement( in CheckVarDecl()
|