Home
last modified time | relevance | path

Searched refs:getLocForEndOfToken (Results 1 – 25 of 39) sorted by relevance

12

/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransformActions.cpp73 End = FullSourceLoc(getLocForEndOfToken(endLoc, srcMgr, PP), srcMgr); in CharRange()
178 static SourceLocation getLocForEndOfToken(SourceLocation loc,
442 addInsertion(getLocForEndOfToken(loc, Ctx.getSourceManager(), PP), text); in commitInsertAfterToken()
475 getLocForEndOfToken(replacementRange.getEnd(), in commitReplace()
590 SourceLocation TransformActionsImpl::getLocForEndOfToken(SourceLocation loc, in getLocForEndOfToken() function in TransformActionsImpl
595 return PP.getLocForEndOfToken(loc); in getLocForEndOfToken()
HDTransforms.cpp145 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); in findSemiAfterLocation()
HDObjCMT.cpp274 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
304 BegLoc = PP.getLocForEndOfToken(BegLoc); in rewriteToPropertyDotSyntax()
1426 EndLoc = PP.getLocForEndOfToken(EndLoc); in AnnotateImplicitBridging()
/NextBSD/contrib/llvm/tools/clang/include/clang/Lex/
HDLexer.h322 static SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset,
333 SourceLocation End = getLocForEndOfToken(Range.getEnd(), 0, SM, LangOpts); in getAsCharRange()
HDPreprocessor.h1430 SourceLocation getLocForEndOfToken(SourceLocation Loc, unsigned Offset = 0) {
1431 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts);
/NextBSD/contrib/llvm/tools/clang/lib/Lex/
HDPPMacroExpansion.cpp659 PP.getLocForEndOfToken(ClosingBrace->getLocation()))); in GenerateNewArgTokens()
677 SourceLocation Loc = PP.getLocForEndOfToken((I - 1)->getLocation()); in GenerateNewArgTokens()
1284 LParenLoc = PP.getLocForEndOfToken(LParenLoc); in EvaluateHasIncludeCommon()
1347 PP.Diag(PP.getLocForEndOfToken(FilenameLoc), diag::err_pp_expected_after) in EvaluateHasIncludeCommon()
1742 Diag(getLocForEndOfToken(Loc), diag::err_pp_expected_after) in ExpandBuiltinMacro()
1767 Diag(getLocForEndOfToken(Tok.getLocation()), diag::err_pp_expected_after) in ExpandBuiltinMacro()
HDLexer.cpp759 SourceLocation Lexer::getLocForEndOfToken(SourceLocation Loc, unsigned Offset, in getLocForEndOfToken() function in Lexer
836 End = Lexer::getLocForEndOfToken(End, 0, SM,LangOpts); in makeRangeFromFileLocs()
1165 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, LangOpts); in findLocationAfterToken()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaLambda.cpp969 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
979 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1033 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1038 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
1071 SourceRange(getLocForEndOfToken(PrevCaptureLoc), C->Loc)); in ActOnStartOfLambdaDefinition()
HDSemaFixItUtils.cpp61 const SourceLocation End = S.PP.getLocForEndOfToken(FullExpr->getSourceRange() in tryToFixConversion()
HDSemaStmtAttr.cpp32 SourceLocation L = S.getLocForEndOfToken(Range.getEnd()); in handleFallThroughAttr()
HDSema.cpp47 SourceLocation Sema::getLocForEndOfToken(SourceLocation Loc, unsigned Offset) { in getLocForEndOfToken() function in Sema
48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); in getLocForEndOfToken()
1446 SourceLocation ParenInsertionLoc = PP.getLocForEndOfToken(Range.getEnd()); in tryToRecoverWithCall()
HDAnalysisBasedWarnings.cpp93 Close = S.getLocForEndOfToken(Close); in HandleUnreachable()
623 SourceLocation Loc = S.getLocForEndOfToken(VD->getLocEnd()); in SuggestInitializationFixit()
646 SourceLocation ElseKwLoc = Lexer::getLocForEndOfToken( in CreateIfFixit()
HDSemaDeclObjC.cpp611 SourceLocation starLoc = PP.getLocForEndOfToken( in actOnObjCTypeParam()
740 diagLoc = S.PP.getLocForEndOfToken(newTypeParams->back()->getLocEnd()); in checkTypeParamListConsistency()
855 = S.PP.getLocForEndOfToken(newTypeParam->getLocation()); in checkTypeParamListConsistency()
1392 PP.getLocForEndOfToken(firstClassNameLoc), " *"); in actOnObjCTypeArgsOrProtocolQualifiers()
1472 SourceLocation starLoc = PP.getLocForEndOfToken(loc); in actOnObjCTypeArgsOrProtocolQualifiers()
3637 SourceLocation SuperClassLoc(getLocForEndOfToken(DeclLoc)); in ActOnAtEnd()
HDSemaExprObjC.cpp1095 PP.getLocForEndOfToken(LParenLoc)); in ParseObjCEncodeExpression()
3400 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3433 S.PP.getLocForEndOfToken(range.getEnd()), in addFixitForObjCARCConversion()
3501 SourceLocation afterLParen = S.PP.getLocForEndOfToken(castRange.getBegin()); in diagnoseObjCARCConversion()
3904 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
3929 SourceLocation SrcExprEndLoc = PP.getLocForEndOfToken(SrcExpr->getLocEnd()); in CheckObjCBridgeRelatedConversions()
HDSemaExpr.cpp467 = PP.getLocForEndOfToken(sentinelExpr->getLocEnd()); in DiagnoseSentinelCalls()
582 SourceLocation RHSLocEnd = S.PP.getLocForEndOfToken(RHS->getLocEnd()); in DiagnoseDirectIsaAccess()
6361 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
7672 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusInt()
7722 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(RHSExpr->getLocEnd()); in diagnoseStringPlusChar()
8368 SourceLocation End = S.PP.getLocForEndOfToken(RHS.get()->getLocEnd()); in diagnoseObjCLiteralComparison()
8370 CharSourceRange::getCharRange(Loc, S.PP.getLocForEndOfToken(Loc)); in diagnoseObjCLiteralComparison()
8404 FirstClose = S.getPreprocessor().getLocForEndOfToken(FirstClose); in diagnoseLogicalNotOnLHSofComparison()
8414 SecondClose = S.getPreprocessor().getLocForEndOfToken(SecondClose); in diagnoseLogicalNotOnLHSofComparison()
8975 Loc, Lexer::getLocForEndOfToken(Loc, 0, getSourceManager(), in CheckLogicalOperands()
[all …]
HDSemaExceptionSpec.cpp327 FixItLoc = getLocForEndOfToken(FTLoc.getLocalRangeEnd()); in CheckEquivalentExceptionSpec()
HDDeclSpec.cpp1078 PP.getLocForEndOfToken(getTypeSpecComplexLoc()), in Finish()
/NextBSD/contrib/llvm/tools/clang/lib/Parse/
HDParseStmt.cpp701 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCaseStatement()
742 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseCaseStatement()
778 SourceLocation ExpectedLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseDefaultStatement()
792 SourceLocation AfterColonLoc = PP.getLocForEndOfToken(ColonLoc); in ParseDefaultStatement()
HDParseExpr.cpp1678 SourceLocation LParenLoc = PP.getLocForEndOfToken(OpTok.getLocation()); in ParseExprAfterUnaryExprOrTypeTrait()
1679 SourceLocation RParenLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseExprAfterUnaryExprOrTypeTrait()
1768 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
1776 LParenLoc = PP.getLocForEndOfToken(EllipsisLoc); in ParseUnaryExprOrTypeTraitExpression()
1777 RParenLoc = PP.getLocForEndOfToken(NameLoc); in ParseUnaryExprOrTypeTraitExpression()
HDParser.cpp110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
158 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ExpectAndConsume()
1291 SourceRange RemovalRange(PP.getLocForEndOfToken(Loc), in ParseSimpleAsm()
1292 PP.getLocForEndOfToken(Tok.getLocation())); in ParseSimpleAsm()
HDParseDeclCXX.cpp1619 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseClassSpecifier()
2762 Diag(PP.getLocForEndOfToken(PrevTokLocation), in SkipCXXMemberSpecification()
2882 SourceLocation BraceLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseCXXMemberSpecification()
3097 Tok.setLocation(PP.getLocForEndOfToken(PrevTokLocation)); in DiagnoseUnexpectedNamespace()
3157 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseConstructorInitializer()
HDParseDecl.cpp1973 PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseDeclarationAfterDeclaratorAndAttributes()
2580 Diag(PP.getLocForEndOfToken(DS.getRepAsDecl()->getLocEnd()), in DiagnoseMissingSemiAfterTagDefinition()
4128 SourceLocation Loc = PP.getLocForEndOfToken(PrevTokLocation); in ParseEnumBody()
5238 Diag(PP.getLocForEndOfToken(D.getEllipsisLoc()), in ParseDirectDeclarator()
5256 Diag(PP.getLocForEndOfToken(Loc), diag::err_expected_unqualified_id) in ParseDirectDeclarator()
6087 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
6109 SourceLocation EndLoc = PP.getLocForEndOfToken(D.getLocEnd()); in ParseMisplacedBracketDeclarator()
HDParseCXXInlineMethods.cpp636 SourceLocation EndLoc = PP.getLocForEndOfToken(PrevTokLocation); in ParseLexedMemberInitializer()
HDParseTemplate.cpp274 = PP.getLocForEndOfToken(TemplateInfo.TemplateLoc); in ParseSingleDeclarationAfterTemplate()
/NextBSD/contrib/llvm/tools/clang/lib/Edit/
HDCommit.cpp269 loc = Lexer::getLocForEndOfToken(loc, 0, SourceMgr, LangOpts); in canInsertAfterToken()

12