Skip to content

Commit 494e771

Browse files
committed
[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
1 parent 88b8b88 commit 494e771

6 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎llvm/lib/AsmParser/LLLexer.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "LLLexer.h"
13+
#include "llvm/AsmParser/LLLexer.h"
1414
#include "llvm/ADT/APInt.h"
1515
#include "llvm/ADT/STLExtras.h"
1616
#include "llvm/ADT/StringExtras.h"

‎llvm/lib/AsmParser/LLParser.cpp‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "LLParser.h"
14-
#include "LLToken.h"
13+
#include "llvm/AsmParser/LLParser.h"
1514
#include "llvm/ADT/APSInt.h"
1615
#include "llvm/ADT/DenseMap.h"
1716
#include "llvm/ADT/None.h"
1817
#include "llvm/ADT/STLExtras.h"
1918
#include "llvm/ADT/SmallPtrSet.h"
19+
#include "llvm/AsmParser/LLToken.h"
2020
#include "llvm/AsmParser/SlotMapping.h"
2121
#include "llvm/BinaryFormat/Dwarf.h"
2222
#include "llvm/IR/Argument.h"

‎llvm/lib/AsmParser/Parser.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "llvm/AsmParser/Parser.h"
14-
#include "LLParser.h"
1514
#include "llvm/ADT/STLExtras.h"
15+
#include "llvm/AsmParser/LLParser.h"
1616
#include "llvm/IR/Module.h"
1717
#include "llvm/IR/ModuleSummaryIndex.h"
1818
#include "llvm/Support/MemoryBuffer.h"

0 commit comments

Comments
 (0)