Lines Matching refs:Result
139 bool Lex(Token &Result);
148 void IndirectLex(Token &Result) override { Lex(Result); }
154 bool LexFromRawLexer(Token &Result) {
156 Lex(Result);
208 void ReadToEndOfLine(SmallVectorImpl<char> *Result = nullptr);
241 /// Tok.getLength() bytes long. The length of the actual result is returned.
287 static bool getRawToken(SourceLocation Loc, Token &Result,
408 /// name is spelled. Thus, the result shouldn't out-live that SourceManager.
468 bool LexTokenInternal(Token &Result, bool TokAtPhysicalStartOfLine);
470 bool CheckUnicodeWhitespace(Token &Result, uint32_t C, const char *CurPtr);
475 bool LexUnicode(Token &Result, uint32_t C, const char *CurPtr);
482 void FormTokenWithChars(Token &Result, const char *TokEnd,
485 Result.setLength(TokLen);
486 Result.setLocation(getSourceLocation(BufferPtr, TokLen));
487 Result.setKind(Kind);
502 // that this character will be part of the result token. This occurs in (f.e.)
594 void PropagateLineStartLeadingSpaceInfo(Token &Result);
596 const char *LexUDSuffix(Token &Result, const char *CurPtr,
600 bool LexIdentifier (Token &Result, const char *CurPtr);
601 bool LexNumericConstant (Token &Result, const char *CurPtr);
602 bool LexStringLiteral (Token &Result, const char *CurPtr,
604 bool LexRawStringLiteral (Token &Result, const char *CurPtr,
606 bool LexAngledStringLiteral(Token &Result, const char *CurPtr);
607 bool LexCharConstant (Token &Result, const char *CurPtr,
609 bool LexEndOfFile (Token &Result, const char *CurPtr);
610 bool SkipWhitespace (Token &Result, const char *CurPtr,
612 bool SkipLineComment (Token &Result, const char *CurPtr,
614 bool SkipBlockComment (Token &Result, const char *CurPtr,
616 bool SaveLineComment (Token &Result, const char *CurPtr);
648 /// \param Result The token being produced. Marked as containing a UCN on
653 Token &Result);