We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35ca1a5 commit b3d8254Copy full SHA for b3d8254
llvm/lib/AsmParser/LLLexer.cpp
@@ -207,10 +207,14 @@ lltok::Kind LLLexer::LexToken() {
207
// exclusive
208
std::tie(PrevTokEndLineNum, PrevTokEndColNum) =
209
SM.getLineAndColumn(SMLoc::getFromPointer(CurPtr));
210
+ --PrevTokEndLineNum;
211
+ --PrevTokEndColNum;
212
while (true) {
213
TokStart = CurPtr;
214
std::tie(CurTokLineNum, CurTokColNum) =
215
216
+ --CurTokLineNum;
217
+ --CurTokColNum;
218
int CurChar = getNextChar();
219
220
switch (CurChar) {
0 commit comments