Home
last modified time | relevance | path

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

12

/external/clang/lib/Format/
DWhitespaceManager.h109 Change(bool CreateReplacement, const SourceRange &OriginalWhitespaceRange,
115 bool CreateReplacement; member
DWhitespaceManager.cpp29 bool CreateReplacement, const SourceRange &OriginalWhitespaceRange, in Change() argument
33 : CreateReplacement(CreateReplacement), in Change()
265 if (C.CreateReplacement) { in generateChanges()
/external/clang/include/clang/Basic/
DDiagnostic.h114 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/
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/Parse/
DParseTemplate.cpp559 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
565 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
769 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
DParseInit.cpp150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
DParseExprCXX.cpp63 << 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()
DParseDeclCXX.cpp160 << 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()
DParseStmt.cpp682 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement()
759 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
DParser.cpp123 DB << FixItHint::CreateReplacement( in ExpectAndConsume()
1730 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
DParseExpr.cpp1958 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression()
1997 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
DParseDecl.cpp443 << 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/
DSemaExprMember.cpp980 << 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()
DSemaExprObjC.cpp1051 << 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()
DAnalysisBasedWarnings.cpp762 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()
DSemaObjCProperty.cpp882 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()
DSemaChecking.cpp2431 << 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 …]
DSemaCXXScopeSpec.cpp526 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
DSemaExpr.cpp522 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 …]
DSemaExprCXX.cpp313 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()
DSema.cpp1181 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
/external/clang/lib/Lex/
DPPLexerChange.cpp318 << FixItHint::CreateReplacement( in HandleEndOfFile()
DPPDirectives.cpp1529 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective()
1595 << FixItHint::CreateReplacement(ReplaceRange, in HandleIncludeDirective()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()

12