Lines Matching refs:LangOpts
1468 const LangOptions &LangOpts) { in getEndCharLoc() argument
1469 unsigned TkLen = Lexer::MeasureTokenLength(Node->getEndLoc(), SM, LangOpts); in getEndCharLoc()
1482 const LangOptions &LangOpts) { in getPastLoc() argument
1484 Lexer::getLocForEndOfToken(Node->getEndLoc(), 0, SM, LangOpts); in getPastLoc()
1493 const LangOptions &LangOpts) { in getExprText() argument
1494 std::optional<SourceLocation> LastCharLoc = getPastLoc(E, SM, LangOpts); in getExprText()
1499 LangOpts); in getExprText()
1507 const LangOptions &LangOpts) { in getRangeText() argument
1510 StringRef Text = Lexer::getSourceText(CSR, SM, LangOpts, &Invalid); in getRangeText()
1528 const LangOptions &LangOpts) { in getVarDeclIdentifierText() argument
1531 Lexer::getLocForEndOfToken(ParmIdentBeginLoc, 0, SM, LangOpts); in getVarDeclIdentifierText()
1534 !Lexer::isAtEndOfMacroExpansion(ParmIdentEndLoc, SM, LangOpts)) in getVarDeclIdentifierText()
1536 return getRangeText({ParmIdentBeginLoc, ParmIdentEndLoc}, SM, LangOpts); in getVarDeclIdentifierText()
1566 const LangOptions &LangOpts) { in getSourceRangeToTokenEnd() argument
1571 Lexer::getLocForEndOfToken(D->getEndLoc(), 0, SM, LangOpts); in getSourceRangeToTokenEnd()
1583 const LangOptions &LangOpts, in getPointeeTypeText() argument
1629 Lexer::getLocForEndOfToken(PteTyLoc.getEndLoc(), 0, SM, LangOpts); in getPointeeTypeText()
1650 return getRangeText({PteTyLoc.getBeginLoc(), PteEndOfTokenLoc}, SM, LangOpts) in getPointeeTypeText()
1657 const LangOptions &LangOpts) { in getFunNameText() argument
1664 FD->getNameInfo().getEndLoc(), 0, SM, LangOpts); in getFunNameText()
1667 return getRangeText(NameRange, SM, LangOpts); in getFunNameText()
1717 const LangOptions &LangOpts = Ctx.getLangOpts(); in getFixits() local
1722 std::optional<SourceLocation> LHSLocation = getPastLoc(LHS, SM, LangOpts); in getFixits()
1730 getPastLoc(AddOp, SM, LangOpts); in getFixits()
1732 getPastLoc(DerefOp, SM, LangOpts); in getFixits()
1818 const LangOptions &LangOpts = Ctx.getLangOpts(); in fixUPCAddressofArraySubscriptWithSpan() local
1825 std::optional<StringRef> DreString = getExprText(DRE, SM, LangOpts); in fixUPCAddressofArraySubscriptWithSpan()
1833 std::optional<StringRef> IndexString = getExprText(Idx, SM, LangOpts); in fixUPCAddressofArraySubscriptWithSpan()
1933 const LangOptions &LangOpts = Ctx.getLangOpts(); in FixVarInitializerWithSpan() local
1945 getEndCharLoc(Init, SM, LangOpts); in FixVarInitializerWithSpan()
1968 std::optional<StringRef> ExtentString = getExprText(Ext, SM, LangOpts); in FixVarInitializerWithSpan()
1995 std::optional<SourceLocation> LocPassInit = getPastLoc(Init, SM, LangOpts); in FixVarInitializerWithSpan()
2152 const LangOptions &LangOpts = Ctx.getLangOpts(); in createOverloadsForFixedParams() local
2169 getPointeeTypeText(PVD, SM, LangOpts, &PteTyQuals); in createOverloadsForFixedParams()
2187 [&SM, &LangOpts, &NewTysTexts, in createOverloadsForFixedParams()
2196 SM, LangOpts)) in createOverloadsForFixedParams()
2216 getSourceRangeToTokenEnd(Parm, SM, LangOpts), in createOverloadsForFixedParams()
2217 SM, LangOpts)) { in createOverloadsForFixedParams()
2232 [&Handler, &SM, &LangOpts, &NewTysTexts, in createOverloadsForFixedParams()
2240 LangOpts)) in createOverloadsForFixedParams()
2246 if (auto FunQualName = getFunNameText(FD, SM, LangOpts)) in createOverloadsForFixedParams()
2280 std::optional<SourceLocation> Loc = getPastLoc(FReDecl, SM, LangOpts); in createOverloadsForFixedParams()