Construct a lexer over assembly buffer StartBuf.
Declared in <llvm/AsmParser/LLLexer.h>
explicit
LLLexer(
StringRef StartBuf,
SourceMgr& SM,
SMDiagnostic& Err,
LLVMContext& C);
| Name | Description |
|---|---|
| StartBuf | Assembly source text to tokenize. |
| SM | Source manager owning StartBuf's buffer. |
| Err | Diagnostic sink for lexer and parser errors. |
| C | Context used when materializing types from tokens. |