Lines Matching refs:LangOpts
48 Buf, SourceMgr, LangOpts); in deconstructMacroArgLoc()
314 static bool canBeJoined(char left, char right, const LangOptions &LangOpts) { in canBeJoined() argument
317 return !(Lexer::isAsciiIdentifierContinueChar(left, LangOpts) && in canBeJoined()
318 Lexer::isAsciiIdentifierContinueChar(right, LangOpts)); in canBeJoined()
324 const LangOptions &LangOpts) { in canRemoveWhitespace() argument
325 if (!canBeJoined(left, right, LangOpts)) in canRemoveWhitespace()
329 if (canBeJoined(beforeWSpace, right, LangOpts)) in canRemoveWhitespace()
337 static void adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, in adjustRemoval() argument
341 SourceLocation BeginTokLoc = Lexer::GetBeginningOfToken(Loc, SM, LangOpts); in adjustRemoval()
373 LangOpts)) in adjustRemoval()
378 if (!canBeJoined(buffer[begin-1], buffer[end], LangOpts)) in adjustRemoval()
384 const SourceManager &SM, const LangOptions &LangOpts, in applyRewrite() argument
392 adjustRemoval(SM, LangOpts, Loc, offs, len, text); in applyRewrite()
437 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
445 applyRewrite(receiver, StrVec, CurOffs, CurLen, SourceMgr, LangOpts, in applyRewrites()
464 SourceMgr, LangOpts, &Invalid); in getSourceText()