Home
last modified time | relevance | path

Searched refs:CreateReplacement (Results 1 – 25 of 41) 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()
274 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/Sema/
DSemaExprObjC.cpp1057 << 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 …]
DSemaExprMember.cpp994 << 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()
DAnalysisBasedWarnings.cpp757 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()
DSemaObjCProperty.cpp885 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()
DSemaStmtAsm.cpp366 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
DSemaChecking.cpp3008 << 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 …]
DSemaCXXScopeSpec.cpp571 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
DSemaExpr.cpp570 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 …]
DSema.cpp1204 FixItHint::CreateReplacement(MagicMarkerRange, MagicMarkerText); in ActOnComment()
/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.cpp577 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
583 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
787 FixItHint Hint1 = FixItHint::CreateReplacement(ReplacementRange, in ParseGreaterThanInTemplateList()
DParseInit.cpp150 << FixItHint::CreateReplacement(SourceRange(NameLoc, ColonLoc), in ParseInitializerWithPotentialDesignator()
DParseExprCXX.cpp63 << 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()
DParseDeclCXX.cpp168 << 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()
DParseStmt.cpp702 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement()
779 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
DParser.cpp123 DB << FixItHint::CreateReplacement( in ExpectAndConsume()
1717 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
DParseExpr.cpp2096 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression()
2140 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
DParseDecl.cpp442 << 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/
DPPLexerChange.cpp337 << FixItHint::CreateReplacement( in HandleEndOfFile()
DPPDirectives.cpp1616 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective()
1684 << FixItHint::CreateReplacement( in HandleIncludeDirective()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp86 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()

12