Lines Matching refs:LangOpts
34 Buf, SourceMgr, LangOpts); in deconstructMacroArgLoc()
296 static bool canBeJoined(char left, char right, const LangOptions &LangOpts) { in canBeJoined() argument
299 return !(Lexer::isIdentifierBodyChar(left, LangOpts) && in canBeJoined()
300 Lexer::isIdentifierBodyChar(right, LangOpts)); in canBeJoined()
306 const LangOptions &LangOpts) { in canRemoveWhitespace() argument
307 if (!canBeJoined(left, right, LangOpts)) in canRemoveWhitespace()
311 if (canBeJoined(beforeWSpace, right, LangOpts)) in canRemoveWhitespace()
319 static void adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, in adjustRemoval() argument
323 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts); in adjustRemoval()
355 LangOpts)) in adjustRemoval()
360 if (!canBeJoined(buffer[begin-1], buffer[end], LangOpts)) in adjustRemoval()
366 const SourceManager &SM, const LangOptions &LangOpts) { in applyRewrite() argument
373 adjustRemoval(SM, LangOpts, Loc, offs, len, text); in applyRewrite()
417 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts); in applyRewrites()
424 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts); in applyRewrites()
442 SourceMgr, LangOpts, &Invalid); in getSourceText()