Home
last modified time | relevance | path

Searched refs:CreateInsertion (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Sema/
DSemaExprObjC.cpp1036 << FixItHint::CreateInsertion(Loc, "["); in BuildClassMessage()
1185 << FixItHint::CreateInsertion(Loc, "["); in BuildInstanceMessage()
1752 << FixItHint::CreateInsertion(AfterLParen, "__bridge "); in CheckObjCARCConversion()
1755 << FixItHint::CreateInsertion(AfterLParen, "__bridge_transfer "); in CheckObjCARCConversion()
1771 << FixItHint::CreateInsertion(AfterLParen, "__bridge "); in CheckObjCARCConversion()
1774 << FixItHint::CreateInsertion(AfterLParen, "__bridge_retained "); in CheckObjCARCConversion()
DSemaExceptionSpec.cpp245 << FixItHint::CreateInsertion(FixItLoc, " " + OS.str().str()); in CheckEquivalentExceptionSpec()
DAnalysisBasedWarnings.cpp516 << FixItHint::CreateInsertion(loc, initialization); in SuggestInitializationFixit()
DDeclSpec.cpp825 << FixItHint::CreateInsertion( in Finish()
DSemaTemplate.cpp228 << FixItHint::CreateInsertion(IILoc, "template "); in DiagnoseUnknownTemplateName()
1735 << FixItHint::CreateInsertion(ExpectedTemplateLoc, "template<> "); in MatchTemplateParametersToScopeSpecifier()
3510 << FixItHint::CreateInsertion(Arg->getLocStart(), "&"); in CheckTemplateArgumentAddressOfObjectOrFunction()
4790 << FixItHint::CreateInsertion(KWLoc, "template<> "); in ActOnClassTemplateSpecialization()
6513 << FixItHint::CreateInsertion(Loc, "typename "); in CheckTypenameType()
DSemaOverload.cpp3985 << FixItHint::CreateInsertion(From->getLocStart(), in ConvertToIntegralOrEnumerationType()
3987 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(From->getLocEnd()), in ConvertToIntegralOrEnumerationType()
6775 ConvFix.Hints.push_back(FixItHint::CreateInsertion(Begin, "*(")); in TryToFixBadConversion()
6776 ConvFix.Hints.push_back(FixItHint::CreateInsertion(End, ")")); in TryToFixBadConversion()
6778 ConvFix.Hints.push_back(FixItHint::CreateInsertion(Begin, "*")); in TryToFixBadConversion()
6800 ConvFix.Hints.push_back(FixItHint::CreateInsertion(Begin, "&(")); in TryToFixBadConversion()
6801 ConvFix.Hints.push_back(FixItHint::CreateInsertion(End, ")")); in TryToFixBadConversion()
6803 ConvFix.Hints.push_back(FixItHint::CreateInsertion(Begin, "&")); in TryToFixBadConversion()
DSemaExpr.cpp1362 << FixItHint::CreateInsertion(R.getNameLoc(), "this->"); in DiagnoseEmptyLookup()
4741 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
4742 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
8631 Hint = FixItHint::CreateInsertion(SL->getLocStart(), "@"); in MakeObjCStringLiteralFixItHint()
9245 << FixItHint::CreateInsertion(Open, "(") in DiagnoseAssignmentAsCondition()
9246 << FixItHint::CreateInsertion(Close, ")"); in DiagnoseAssignmentAsCondition()
DSemaExprMember.cpp1403 << FixItHint::CreateInsertion(ParenInsertionLoc, "()"); in LookupMemberExpr()
DSemaDecl.cpp370 << FixItHint::CreateInsertion(SS->getRange().getBegin(), "typename "); in DiagnoseUnknownTypeName()
508 << FixItHint::CreateInsertion(NameLoc, FixItTagName); in ClassifyName()
4421 << FixItHint::CreateInsertion(InsertLoc, "<>"); in ActOnFunctionDeclarator()
4655 << FixItHint::CreateInsertion( in ActOnFunctionDeclarator()
6220 << FixItHint::CreateInsertion(LocAfterDecls, Code.str()); in ActOnFinishKNRParamDeclarations()
DSemaDeclCXX.cpp4316 << FixItHint::CreateInsertion(ParamLoc, ConstRef); in CheckConstructor()
4665 << FixItHint::CreateInsertion(NamespaceLoc, "inline "); in ActOnStartNamespaceDef()
5028 << FixItHint::CreateInsertion(SS.getRange().getBegin(), "using "); in ActOnUsingDeclaration()
8216 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(FriendLoc), in CheckFriendTypeDecl()
DSemaExprCXX.cpp1873 << FixItHint::CreateInsertion(PP.getLocForEndOfToken(StartLoc), "[]"); in ActOnCXXDelete()
4235 << FixItHint::CreateInsertion(ExpectedLParenLoc, "()"); in DiagnoseDtorReference()
DSemaInit.cpp539 << FixItHint::CreateInsertion(StructuredSubobjectInitList->getLocStart(), in CheckImplicitInitList()
541 << FixItHint::CreateInsertion(SemaRef.PP.getLocForEndOfToken( in CheckImplicitInitList()
DSemaChecking.cpp1980 << FixItHint::CreateInsertion(ArgRange.getBegin(), "(void*)")); in CheckMemsetcpymoveArguments()
DSemaType.cpp658 << FixItHint::CreateInsertion(DS.getSourceRange().getBegin(), "int"); in ConvertDeclSpecToType()
/external/clang/lib/Parse/
DParseInit.cpp294 << FixItHint::CreateInsertion(Tok.getLocation(), "= "); in ParseInitializerWithPotentialDesignator()
DParser.cpp121 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
122 << FixItHint::CreateInsertion(EndLoc, ")"); in SuggestParentheses()
193 << FixItHint::CreateInsertion(EndLoc, Spelling); in ExpectAndConsume()
DParseStmt.cpp319 << FixItHint::CreateInsertion(OldToken.getLocation(), "case "); in ParseExprStatement()
554 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseCaseStatement()
631 << FixItHint::CreateInsertion(ExpectedLoc, ":"); in ParseDefaultStatement()
DParseExpr.cpp329 << FixItHint::CreateInsertion(FILoc, FIText); in ParseRHSOfBinaryExpression()
1494 << FixItHint::CreateInsertion(LParenLoc, "(") in ParseUnaryExprOrTypeTraitExpression()
1495 << FixItHint::CreateInsertion(RParenLoc, ")"); in ParseUnaryExprOrTypeTraitExpression()
DParseDeclCXX.cpp146 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); in ParseNamespace()
1122 << FixItHint::CreateInsertion(LAngleLoc, "<>"); in ParseClassSpecifier()
2221 << FixItHint::CreateInsertion(Loc, ", "); in ParseConstructorInitializer()
DParseDecl.cpp1210 << FixItHint::CreateInsertion(Tok.getLocation(),FixitTagName); in ParseImplicitInt()
1917 << FixItHint::CreateInsertion(Loc, "id") in ParseDeclarationSpecifiers()
2725 << FixItHint::CreateInsertion(Loc, ", "); in ParseEnumBody()
4020 << FixItHint::CreateInsertion(EllipsisLoc, ", "); in ParseParameterDeclarationClause()
DParseExprCXX.cpp404 << FixItHint::CreateInsertion(Tok.getLocation(), "template "); in ParseOptionalCXXScopeSpecifier()
1223 << FixItHint::CreateInsertion(Id.StartLocation, "template "); in ParseUnqualifiedIdTemplateId()
/external/clang/include/clang/Basic/
DDiagnostic.h67 static FixItHint CreateInsertion(SourceLocation InsertionLoc, in CreateInsertion() function
/external/clang/lib/Lex/
DPPDirectives.cpp177 Hint = FixItHint::CreateInsertion(Tmp.getLocation(),"//"); in CheckEndOfDirective()
DLexer.cpp1913 << FixItHint::CreateInsertion(getSourceLocation(BufferEnd), "\n"); in LexEndOfFile()