Lines Matching refs:Features

46 static CharSourceRange MakeCharSourceRange(const LangOptions &Features,
53 TokLoc.getManager(), Features);
56 TokLoc.getManager(), Features);
66 const LangOptions &Features, FullSourceLoc TokLoc,
71 TokLoc.getManager(), Features);
73 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd);
83 const LangOptions &Features) {
106 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
112 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
135 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
161 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
184 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
195 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
204 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
208 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
265 const LangOptions &Features,
274 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
289 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
298 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
307 bool IsError = (!Features.CPlusPlus11 || !in_char_string_literal);
311 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
316 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
324 if (!Features.CPlusPlus && !Features.C99 && Diags)
325 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
335 const LangOptions &Features, bool &HadError) {
345 UcnLen, Loc, nullptr, Features, true)) {
373 const LangOptions &Features) {
378 Loc, Diags, Features, true)) {
1268 : SM(PP.getSourceManager()), Features(PP.getLangOpts()),
1358 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features,
1459 if (Features.PascalStrings && ThisTokBuf + 1 != ThisTokEnd &&
1490 CharByteWidth, Diags, Features);
1497 CharByteWidth*8, Diags, Features);
1547 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509;
1553 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0)
1592 Diag(Diags, Features, SourceLoc, TokBegin,
1608 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin,
1633 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features,
1682 1, Features, HadError);
1692 CharByteWidth*8, Diags, Features);