Parse a type in the given string.
Synopsis
Declared in <llvm/AsmParser/Parser.h>
Type*
parseType(
StringRef Asm,
SMDiagnostic& Err,
Module const& M,
SlotMapping const* Slots = nullptr);
Return Value
null on error.
Parameters
Name |
Description |
Asm |
The string containing the type. |
Err |
Error result info. |
M |
The module providing context for named types. |
Slots |
The optional slot mapping that will restore the parsing state of the module. |
Created with MrDocs