Lines Matching refs:Features

59 static CharSourceRange MakeCharSourceRange(const LangOptions &Features,  in MakeCharSourceRange()  argument
66 TokLoc.getManager(), Features); in MakeCharSourceRange()
69 TokLoc.getManager(), Features); in MakeCharSourceRange()
79 const LangOptions &Features, FullSourceLoc TokLoc, in Diag() argument
84 TokLoc.getManager(), Features); in Diag()
86 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd); in Diag()
96 const LangOptions &Features) { in ProcessCharEscape() argument
119 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
125 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
148 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
174 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
197 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
208 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
217 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
221 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf, in ProcessCharEscape()
278 const LangOptions &Features, in ProcessUCNEscape() argument
287 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
302 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
311 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
320 bool IsError = (!Features.CPlusPlus11 || !in_char_string_literal); in ProcessUCNEscape()
324 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
329 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
337 if (!Features.CPlusPlus && !Features.C99 && Diags) in ProcessUCNEscape()
338 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf, in ProcessUCNEscape()
348 const LangOptions &Features, bool &HadError) { in MeasureUCNEscape() argument
358 UcnLen, Loc, nullptr, Features, true)) { in MeasureUCNEscape()
386 const LangOptions &Features) { in EncodeUCNEscape() argument
391 Loc, Diags, Features, true)) { in EncodeUCNEscape()
1497 : SM(PP.getSourceManager()), Features(PP.getLangOpts()), in StringLiteralParser()
1587 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features, in init()
1700 if (Features.PascalStrings && ThisTokBuf + 1 != ThisTokEnd && in init()
1731 CharByteWidth, Diags, Features); in init()
1738 CharByteWidth*8, Diags, Features); in init()
1788 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509; in init()
1794 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0) in init()
1833 Diag(Diags, Features, SourceLoc, TokBegin, in CopyStringFragment()
1849 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin, in CopyStringFragment()
1874 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features, in getOffsetOfStringByte()
1923 1, Features, HadError); in getOffsetOfStringByte()
1933 CharByteWidth*8, Diags, Features); in getOffsetOfStringByte()