Home
last modified time | relevance | path

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

12

/external/clang/lib/Format/
DWhitespaceManager.h108 Change(bool CreateReplacement, SourceRange OriginalWhitespaceRange,
115 bool CreateReplacement; member
DWhitespaceManager.cpp29 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/
DFixIt.h64 return FixItHint::CreateReplacement(internal::getSourceRange(Destination), in createReplacement()
/external/clang/include/clang/Basic/
DDiagnostic.h115 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/
DSemaExprObjC.cpp1171 << 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 …]
DSemaExprMember.cpp1069 << 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()
DAnalysisBasedWarnings.cpp769 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()
DSemaChecking.cpp4275 << 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 …]
DSemaStmtAsm.cpp404 B.AddFixItHint(FixItHint::CreateReplacement(Piece.getRange(), in ActOnGCCAsmStmt()
DSemaCXXScopeSpec.cpp598 << FixItHint::CreateReplacement(CCLoc, ":"); in BuildCXXNestedNameSpecifier()
DSemaExpr.cpp605 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/
DCommentSema.cpp247 << ArgRange << FixItHint::CreateReplacement(ArgRange, FixedName); in actOnParamCommandDirectionArg()
354 << FixItHint::CreateReplacement(ArgRange, CorrectedName); in actOnTParamCommandParamNameArg()
795 << FixItHint::CreateReplacement(ArgRange, CorrectedII->getName()); in resolveParamCommandIndexes()
DCommentLexer.cpp385 << FixItHint::CreateReplacement(CommandRange, CorrectedName); in lexCommentText()
/external/clang/lib/Parse/
DParseTemplate.cpp594 ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
599 << (Replace ? FixItHint::CreateReplacement(Tok.getLocation(), "class") in ParseTemplateTemplateParameter()
811 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()
2390 Diag(DiagLoc, DiagId) << FixItHint::CreateReplacement( in ParseUnqualifiedIdOperator()
DParseDeclCXX.cpp169 << 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()
DParseStmt.cpp721 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseCaseStatement()
800 << FixItHint::CreateReplacement(ColonLoc, ":"); in ParseDefaultStatement()
DParser.cpp143 DB << FixItHint::CreateReplacement( in ExpectAndConsume()
1845 << FixItHint::CreateReplacement(SourceRange(Tok.getLocation()), "="); in isTokenEqualOrEqualTypo()
DParseExpr.cpp2219 << FixItHint::CreateReplacement(BridgeKeywordLoc, ""); in ParseParenExpression()
2274 << FixItHint::CreateReplacement(BridgeKeywordLoc, in ParseParenExpression()
DParseDecl.cpp445 << 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/
DPPDirectives.cpp1637 << FixItHint::CreateReplacement(ReplaceRange, in diagnoseAutoModuleImport()
1828 FixItHint::CreateReplacement(Range, "\"" + Filename.str() + "\""); in HandleIncludeDirective()
1978 FixItHint::CreateReplacement(Range, Replacement); in HandleIncludeDirective()
DPPLexerChange.cpp337 << FixItHint::CreateReplacement( in HandleEndOfFile()
/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp44 MergedFixits.push_back(FixItHint::CreateReplacement(range, text)); in replace()
/external/v8/tools/clang/plugins/
DFindBadConstructsConsumer.cpp1058 << FixItHint::CreateReplacement( in CheckVarDecl()

12