Correct method name in comment: from LexRawToken to LexFromRawLexer, according
to a change done long ago in r57393. llvm-svn: 158243
This commit is contained in:
parent
33a1b416ac
commit
702b732d6f
|
@ -97,14 +97,14 @@ public:
|
|||
Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer, Preprocessor &PP);
|
||||
|
||||
/// Lexer constructor - Create a new raw lexer object. This object is only
|
||||
/// suitable for calls to 'LexRawToken'. This lexer assumes that the text
|
||||
/// range will outlive it, so it doesn't take ownership of it.
|
||||
/// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the
|
||||
/// text range will outlive it, so it doesn't take ownership of it.
|
||||
Lexer(SourceLocation FileLoc, const LangOptions &LangOpts,
|
||||
const char *BufStart, const char *BufPtr, const char *BufEnd);
|
||||
|
||||
/// Lexer constructor - Create a new raw lexer object. This object is only
|
||||
/// suitable for calls to 'LexRawToken'. This lexer assumes that the text
|
||||
/// range will outlive it, so it doesn't take ownership of it.
|
||||
/// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the
|
||||
/// text range will outlive it, so it doesn't take ownership of it.
|
||||
Lexer(FileID FID, const llvm::MemoryBuffer *InputBuffer,
|
||||
const SourceManager &SM, const LangOptions &LangOpts);
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@ Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *InputFile, Preprocessor &PP)
|
|||
}
|
||||
|
||||
/// Lexer constructor - Create a new raw lexer object. This object is only
|
||||
/// suitable for calls to 'LexRawToken'. This lexer assumes that the text
|
||||
/// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the text
|
||||
/// range will outlive it, so it doesn't take ownership of it.
|
||||
Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts,
|
||||
const char *BufStart, const char *BufPtr, const char *BufEnd)
|
||||
|
@ -140,7 +140,7 @@ Lexer::Lexer(SourceLocation fileloc, const LangOptions &langOpts,
|
|||
}
|
||||
|
||||
/// Lexer constructor - Create a new raw lexer object. This object is only
|
||||
/// suitable for calls to 'LexRawToken'. This lexer assumes that the text
|
||||
/// suitable for calls to 'LexFromRawLexer'. This lexer assumes that the text
|
||||
/// range will outlive it, so it doesn't take ownership of it.
|
||||
Lexer::Lexer(FileID FID, const llvm::MemoryBuffer *FromFile,
|
||||
const SourceManager &SM, const LangOptions &langOpts)
|
||||
|
|
Loading…
Reference in New Issue