[Lexer] Allow LLLexer to be used as an API
authorWilliam S. Moses <gh@wsmoses.com>
Wed, 21 Apr 2021 01:59:45 +0000 (21:59 -0400)
committerWilliam S. Moses <gh@wsmoses.com>
Mon, 26 Apr 2021 16:43:14 +0000 (12:43 -0400)
commit494e77138c2e53961c43fe6957142d4f90034f98
treeb264b2f3c865bfccf74775c1c2351c32ccf05fb7
parent88b8b88035faf2752b6d9f75e89333526a19b102
[Lexer] Allow LLLexer to be used as an API

Explose LLVM Lexer for usage externally as an API

Differential Revision: https://reviews.llvm.org/D100920
llvm/include/llvm/AsmParser/LLLexer.h [moved from llvm/lib/AsmParser/LLLexer.h with 100% similarity]
llvm/include/llvm/AsmParser/LLParser.h [moved from llvm/lib/AsmParser/LLParser.h with 100% similarity]
llvm/include/llvm/AsmParser/LLToken.h [moved from llvm/lib/AsmParser/LLToken.h with 100% similarity]
llvm/lib/AsmParser/LLLexer.cpp
llvm/lib/AsmParser/LLParser.cpp
llvm/lib/AsmParser/Parser.cpp