clang 19.0.0git
clang::Lexer Member List

This is the complete list of members for clang::Lexer, including all inherited members.

AdvanceToTokenCharacter(SourceLocation TokStart, unsigned Characters, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerinlinestatic
ComputePreamble(StringRef Buffer, const LangOptions &LangOpts, unsigned MaxLines=0)clang::Lexerstatic
conditional_begin() constclang::PreprocessorLexerinline
conditional_end() constclang::PreprocessorLexerinline
conditional_iterator typedefclang::PreprocessorLexer
ConditionalStackclang::PreprocessorLexerprotected
Create_PragmaLexer(SourceLocation SpellingLoc, SourceLocation ExpansionLocStart, SourceLocation ExpansionLocEnd, unsigned TokLen, Preprocessor &PP)clang::Lexerstatic
Diag(const char *Loc, unsigned DiagID) constclang::Lexer
FIDclang::PreprocessorLexerprotected
findLocationAfterToken(SourceLocation loc, tok::TokenKind TKind, const SourceManager &SM, const LangOptions &LangOpts, bool SkipTrailingWhitespaceAndNewLine)clang::Lexerstatic
findNextToken(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
getAsCharRange(SourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerinlinestatic
getAsCharRange(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerinlinestatic
GetBeginningOfToken(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
getBuffer() constclang::Lexerinline
getBufferLocation() constclang::Lexerinline
getCharAndSizeNoWarn(const char *Ptr, const LangOptions &LangOpts)clang::Lexerinlinestatic
getConditionalStackDepth() constclang::PreprocessorLexerinlineprotected
getCurrentBufferOffset()clang::Lexerinline
getFileEntry() constclang::PreprocessorLexer
getFileID() constclang::PreprocessorLexerinline
getFileLoc() constclang::Lexerinline
getImmediateMacroName(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
getImmediateMacroNameForDiagnostics(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
getIndentationForLine(SourceLocation Loc, const SourceManager &SM)clang::Lexerstatic
getInitialNumSLocEntries() constclang::PreprocessorLexerinline
getLocForEndOfToken(SourceLocation Loc, unsigned Offset, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
getPP() constclang::PreprocessorLexerinline
getRawToken(SourceLocation Loc, Token &Result, const SourceManager &SM, const LangOptions &LangOpts, bool IgnoreWhiteSpace=false)clang::Lexerstatic
getSourceLocation(const char *Loc, unsigned TokLen=1) constclang::Lexer
getSourceLocation() overrideclang::Lexerinlinevirtual
getSourceText(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexerstatic
getSpelling(const Token &Tok, const char *&Buffer, const SourceManager &SourceMgr, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexerstatic
getSpelling(const Token &Tok, const SourceManager &SourceMgr, const LangOptions &LangOpts, bool *Invalid=nullptr)clang::Lexerstatic
getSpelling(SourceLocation loc, SmallVectorImpl< char > &buffer, const SourceManager &SM, const LangOptions &options, bool *invalid=nullptr)clang::Lexerstatic
getTokenPrefixLength(SourceLocation TokStart, unsigned CharNo, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
InitialNumSLocEntriesclang::PreprocessorLexerprotected
inKeepCommentMode() constclang::Lexerinline
isAsciiIdentifierContinueChar(char c, const LangOptions &LangOpts)clang::Lexerstatic
isAtEndOfMacroExpansion(SourceLocation loc, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation *MacroEnd=nullptr)clang::Lexerstatic
isAtStartOfMacroExpansion(SourceLocation loc, const SourceManager &SM, const LangOptions &LangOpts, SourceLocation *MacroBegin=nullptr)clang::Lexerstatic
isFirstTimeLexingFile() constclang::Lexerinline
isKeepWhitespaceMode() constclang::Lexerinline
isLexingRawMode() constclang::PreprocessorLexerinline
isNewLineEscaped(const char *BufferStart, const char *Str)clang::Lexerstatic
isPragmaLexer() constclang::Lexerinline
Lex(Token &Result)clang::Lexer
Lexer(FileID FID, const llvm::MemoryBufferRef &InputFile, Preprocessor &PP, bool IsFirstIncludeOfFile=true)clang::Lexer
Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, const char *BufStart, const char *BufPtr, const char *BufEnd, bool IsFirstIncludeOfFile=true)clang::Lexer
Lexer(FileID FID, const llvm::MemoryBufferRef &FromFile, const SourceManager &SM, const LangOptions &LangOpts, bool IsFirstIncludeOfFile=true)clang::Lexer
Lexer(const Lexer &)=deleteclang::Lexer
LexFromRawLexer(Token &Result)clang::Lexerinline
LexIncludeFilename(Token &FilenameTok)clang::PreprocessorLexer
LexingRawModeclang::PreprocessorLexerprotected
makeFileCharRange(CharSourceRange Range, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
MeasureTokenLength(SourceLocation Loc, const SourceManager &SM, const LangOptions &LangOpts)clang::Lexerstatic
MIOptclang::PreprocessorLexerprotected
operator=(const Lexer &)=deleteclang::Lexer
clang::PreprocessorLexer::operator=(const PreprocessorLexer &)=deleteclang::PreprocessorLexer
ParsingFilenameclang::PreprocessorLexerprotected
ParsingPreprocessorDirectiveclang::PreprocessorLexerprotected
peekConditionalLevel()clang::PreprocessorLexerinlineprotected
popConditionalLevel(PPConditionalInfo &CI)clang::PreprocessorLexerinlineprotected
PPclang::PreprocessorLexerprotected
Preprocessorclang::Lexerfriend
PreprocessorLexer()clang::PreprocessorLexerinlineprotected
PreprocessorLexer(Preprocessor *pp, FileID fid)clang::PreprocessorLexerprotected
PreprocessorLexer(const PreprocessorLexer &)=deleteclang::PreprocessorLexer
pushConditionalLevel(SourceLocation DirectiveStart, bool WasSkipping, bool FoundNonSkip, bool FoundElse)clang::PreprocessorLexerinlineprotected
pushConditionalLevel(const PPConditionalInfo &CI)clang::PreprocessorLexerinlineprotected
ReadToEndOfLine(SmallVectorImpl< char > *Result=nullptr)clang::Lexer
resetExtendedTokenMode()clang::Lexer
seek(unsigned Offset, bool IsAtStartOfLine)clang::Lexer
SetCommentRetentionState(bool Mode)clang::Lexerinline
setConditionalLevels(ArrayRef< PPConditionalInfo > CL)clang::PreprocessorLexerinline
SetKeepWhitespaceMode(bool Val)clang::Lexerinline
setParsingPreprocessorDirective(bool f)clang::PreprocessorLexerinline
Stringify(StringRef Str, bool Charify=false)clang::Lexerstatic
Stringify(SmallVectorImpl< char > &Str)clang::Lexerstatic
~PreprocessorLexer()=defaultclang::PreprocessorLexerprotectedvirtual