/external/clang/lib/Format/ |
D | WhitespaceManager.h | 109 Change(bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, 115 bool CreateReplacement; member
|
D | WhitespaceManager.cpp | 29 bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, in Change() argument 33 : CreateReplacement(CreateReplacement), in Change() 274 if (C.CreateReplacement) { in generateChanges()
|
/external/clang/include/clang/Basic/ |
D | Diagnostic.h | 114 static FixItHint CreateReplacement(CharSourceRange RemoveRange, in CreateReplacement() function 122 static FixItHint CreateReplacement(SourceRange RemoveRange, in CreateReplacement() function 124 return CreateReplacement(CharSourceRange::getTokenRange(RemoveRange), Code); in CreateReplacement()
|
/external/clang/lib/Sema/ |
D | SemaExprObjC.cpp | 1057 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in ParseObjCSelectorExpression() 1325 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in CheckMessageArgumentTypes() 1341 << FixItHint::CreateReplacement(RecRange, in CheckMessageArgumentTypes() 1619 << FixItHint::CreateReplacement(MemberLoc, PDecl->getName()); in HandleExprPropertyRefExpr() 1662 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr() 3124 DiagB.AddFixItHint(FixItHint::CreateReplacement(range, BridgeCall)); in addFixitForObjCARCConversion() 3167 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion() 3963 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge"); in BuildObjCBridgedCast() 3966 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast() 4007 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge "); in BuildObjCBridgedCast() [all …]
|
D | SemaExprMember.cpp | 994 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr() 1231 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1320 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1581 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
|
D | AnalysisBasedWarnings.cpp | 757 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); in DiagUninitUse() 767 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 777 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 797 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
|
D | SemaObjCProperty.cpp | 885 FixItHint::CreateReplacement(ReadonlySourceRange, "readwrite"); in ActOnPropertyImplDecl() 1815 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic"); in AtomicPropertySetterGetterRules() 1824 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic) "); in AtomicPropertySetterGetterRules() 1832 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic, "); in AtomicPropertySetterGetterRules()
|
D | SemaStmtAsm.cpp | 366 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
|
D | SemaChecking.cpp | 3008 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleInvalidLengthModifier() 3042 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleNonStandardLengthModifier() 3070 << FixItHint::CreateReplacement(CSRange, FixedCS->toString()); in HandleNonStandardConversionSpecifier() 3879 FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 3897 Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 3902 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr() 4170 FixItHint::CreateReplacement( in HandleScanfSpecifier() 4551 << FunctionName << FixItHint::CreateReplacement(Range, FunctionName); in emitReplacement() 5010 << FixItHint::CreateReplacement(OriginalSizeArg->getSourceRange(), in CheckStrlcpycatArguments() 5114 << FixItHint::CreateReplacement(SR, OS.str()); in CheckStrncatArguments() [all …]
|
D | SemaCXXScopeSpec.cpp | 571 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
D | SemaExpr.cpp | 570 FixItHint::CreateReplacement(SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess() 584 FixItHint::CreateReplacement( in DiagnoseDirectIsaAccess() 643 FixItHint::CreateReplacement( in DefaultLvalueConversion() 7614 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusInt() 7664 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusChar() 8286 << FixItHint::CreateReplacement(OpRange, " isEqual:") in diagnoseObjCLiteralComparison() 8880 << FixItHint::CreateReplacement(SourceRange( in CheckLogicalOperands() 10143 FixItHint::CreateReplacement(SourceRange(OISA->getOpLoc(), OpLoc), ",") << in CreateBuiltinBinOp() 13626 << FixItHint::CreateReplacement(Loc, "!="); in DiagnoseAssignmentAsCondition() 13629 << FixItHint::CreateReplacement(Loc, "=="); in DiagnoseAssignmentAsCondition() [all …]
|
D | Sema.cpp | 1204 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
|
/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/Parse/ |
D | ParseTemplate.cpp | 577 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 583 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 787 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() 2303 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
D | ParseDeclCXX.cpp | 168 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), in ParseNamespace() 2603 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration() 2980 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXMemberSpecification() 3358 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification()
|
D | ParseStmt.cpp | 702 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 779 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
D | Parser.cpp | 123 DB << FixItHint::CreateReplacement( in ExpectAndConsume() 1717 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
|
D | ParseExpr.cpp | 2096 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression() 2140 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
|
D | ParseDecl.cpp | 442 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs() 1761 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup() 1960 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes() 2272 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 337 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
D | PPDirectives.cpp | 1616 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective() 1684 << FixItHint::CreateReplacement( in HandleIncludeDirective()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|