Lines Matching refs:Features

45 static CharSourceRange MakeCharSourceRange(const LangOptions &Features,
52 TokLoc.getManager(), Features);
55 TokLoc.getManager(), Features);
65 const LangOptions &Features, FullSourceLoc TokLoc,
70 TokLoc.getManager(), Features);
72 MakeCharSourceRange(Features, TokLoc, TokBegin, TokRangeBegin, TokRangeEnd);
82 const LangOptions &Features) {
105 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
111 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
134 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
159 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
182 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
193 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
202 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
206 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
263 const LangOptions &Features,
272 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
287 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
296 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
305 bool IsError = (!Features.CPlusPlus11 || !in_char_string_literal);
309 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
314 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
322 if (!Features.CPlusPlus && !Features.C99 && Diags)
323 Diag(Diags, Features, Loc, ThisTokBegin, UcnBegin, ThisTokBuf,
333 const LangOptions &Features, bool &HadError) {
343 UcnLen, Loc, nullptr, Features, true)) {
371 const LangOptions &Features) {
376 Loc, Diags, Features, true)) {
1260 : SM(PP.getSourceManager()), Features(PP.getLangOpts()),
1350 Lexer::getSpelling(StringToks[i], ThisTokBuf, SM, Features,
1438 if (Features.PascalStrings && ThisTokBuf + 1 != ThisTokEnd &&
1469 CharByteWidth, Diags, Features);
1476 CharByteWidth*8, Diags, Features);
1526 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509;
1532 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0)
1571 Diag(Diags, Features, SourceLoc, TokBegin,
1587 Builder << MakeCharSourceRange(Features, SourceLoc, TokBegin,
1612 unsigned TokLen = Lexer::getSpelling(Tok, SpellingPtr, SM, Features,
1661 1, Features, HadError);
1671 CharByteWidth*8, Diags, Features);