/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() 265 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/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 | 559 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 565 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter() 769 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() 421 << FixItHint::CreateReplacement(Next.getLocation(), "::"); in ParseOptionalCXXScopeSpecifier() 441 << FixItHint::CreateReplacement(Next.getLocation(), ":"); in ParseOptionalCXXScopeSpecifier() 2237 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
|
D | ParseDeclCXX.cpp | 160 << FixItHint::CreateReplacement(SourceRange(ExtraNamespaceLoc.front(), in ParseNamespace() 2402 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseCXXClassMemberDeclaration() 2683 << tok::colon << FixItHint::CreateReplacement(EndLoc, ":"); in ParseCXXMemberSpecification() 3017 << Replacement << FixItHint::CreateReplacement(Range, Replacement); in diagnoseDynamicExceptionSpecification()
|
D | ParseStmt.cpp | 682 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement() 759 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
|
D | Parser.cpp | 123 DB << FixItHint::CreateReplacement( in ExpectAndConsume() 1730 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
|
D | ParseExpr.cpp | 1958 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression() 1997 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
|
D | ParseDecl.cpp | 443 << FixItHint::CreateReplacement(KindLoc, "put"); in ParseMicrosoftDeclSpecArgs() 1644 << FixItHint::CreateReplacement(CommaLoc, ";"); in ParseDeclGroup() 1839 << FixItHint::CreateReplacement(EqualLoc, ":"); in ParseDeclarationAfterDeclaratorAndAttributes() 2147 << FixItHint::CreateReplacement(Tok.getLocation(), II->getName()); in ParseImplicitInt()
|
/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 980 << MemberName << DC << FixItHint::CreateReplacement(OpLoc, "->"); in BuildMemberReferenceExpr() 1217 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1303 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1556 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
|
D | SemaExprObjC.cpp | 1051 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in ParseObjCSelectorExpression() 1322 << FixItHint::CreateReplacement(SelectorRange, MatchedSel.getAsString()); in CheckMessageArgumentTypes() 1692 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr() 3070 DiagB.AddFixItHint(FixItHint::CreateReplacement(range, BridgeCall)); in addFixitForObjCARCConversion() 3113 DiagB.AddFixItHint(FixItHint::CreateReplacement(Range, castCode)); in addFixitForObjCARCConversion() 3902 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge"); in BuildObjCBridgedCast() 3905 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast() 3946 << FixItHint::CreateReplacement(BridgeKeywordLoc, "__bridge "); in BuildObjCBridgedCast() 3949 << FixItHint::CreateReplacement(BridgeKeywordLoc, in BuildObjCBridgedCast()
|
D | AnalysisBasedWarnings.cpp | 762 Fixit1 = FixItHint::CreateReplacement(BO->getSourceRange(), FixitStr); in DiagUninitUse() 772 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 782 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse() 802 Fixit1 = FixItHint::CreateReplacement(Range, FixitStr); in DiagUninitUse()
|
D | SemaObjCProperty.cpp | 882 FixItHint::CreateReplacement(ReadonlySourceRange, "readwrite"); in ActOnPropertyImplDecl() 1808 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic"); in AtomicPropertySetterGetterRules() 1817 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic) "); in AtomicPropertySetterGetterRules() 1825 FixItHint::CreateReplacement(PropSourceRange, "@property (nonatomic, "); in AtomicPropertySetterGetterRules()
|
D | SemaChecking.cpp | 2431 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleInvalidLengthModifier() 2465 << FixItHint::CreateReplacement(LMRange, FixedLM->toString()); in HandleNonStandardLengthModifier() 2493 << FixItHint::CreateReplacement(CSRange, FixedCS->toString()); in HandleNonStandardConversionSpecifier() 3223 FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 3241 Hints.push_back(FixItHint::CreateReplacement(SpecRange, os.str())); in checkFormatExpr() 3246 Hints.push_back(FixItHint::CreateReplacement(CastRange, CastFix.str())); in checkFormatExpr() 3494 FixItHint::CreateReplacement( in HandleScanfSpecifier() 3862 << FunctionName << FixItHint::CreateReplacement(Range, FunctionName); in emitReplacement() 4312 << FixItHint::CreateReplacement(OriginalSizeArg->getSourceRange(), in CheckStrlcpycatArguments() 4416 << FixItHint::CreateReplacement(SR, OS.str()); in CheckStrncatArguments() [all …]
|
D | SemaCXXScopeSpec.cpp | 526 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
|
D | SemaExpr.cpp | 522 FixItHint::CreateReplacement(SourceRange(OIRE->getOpLoc(), in DiagnoseDirectIsaAccess() 536 FixItHint::CreateReplacement( in DiagnoseDirectIsaAccess() 595 FixItHint::CreateReplacement( in DefaultLvalueConversion() 7187 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusInt() 7237 << FixItHint::CreateReplacement(SourceRange(OpLoc), "[") in diagnoseStringPlusChar() 7794 << FixItHint::CreateReplacement(OpRange, " isEqual:") in diagnoseObjCLiteralComparison() 8381 << FixItHint::CreateReplacement(SourceRange( in CheckLogicalOperands() 9454 FixItHint::CreateReplacement(SourceRange(OISA->getOpLoc(), OpLoc), ",") << in CreateBuiltinBinOp() 12881 << FixItHint::CreateReplacement(Loc, "!="); in DiagnoseAssignmentAsCondition() 12884 << FixItHint::CreateReplacement(Loc, "=="); in DiagnoseAssignmentAsCondition() [all …]
|
D | SemaExprCXX.cpp | 313 DtorDiag << FixItHint::CreateReplacement(SourceRange(NameLoc), in getDestructorName() 4100 << FixItHint::CreateReplacement(SourceRange(Loc), ".*"); in CheckPointerToMemberOperands() 5227 << FixItHint::CreateReplacement(OpLoc, "."); in ActOnStartCXXMemberReference() 5335 << FixItHint::CreateReplacement(OpLoc, "."); in CheckArrow()
|
D | Sema.cpp | 1181 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
|
/external/clang/lib/Lex/ |
D | PPLexerChange.cpp | 318 << FixItHint::CreateReplacement( in HandleEndOfFile()
|
D | PPDirectives.cpp | 1529 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective() 1595 << FixItHint::CreateReplacement(ReplaceRange, in HandleIncludeDirective()
|
/external/clang/lib/Frontend/ |
D | DiagnosticRenderer.cpp | 86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
|