llvm-project
[LLVM][IR] Add location tracking to LLVM IR parser
#155797
Merged

[LLVM][IR] Add location tracking to LLVM IR parser #155797

nikic merged 36 commits into llvm:main from Bertik23:parser-location-info
Bertik23
Bertik23 Update CurLineNum anc CurColNum in sync with movement in text
ecf591c7
Bertik23 Remove remains from cherry pick from LSP branch
06926e9f
Bertik23 Make isLabelTail more safe and rename it to better show what it does
1fdf13c3
Bertik23 Remove dangling comment
2772cd8f
Bertik23 Fix typo
b05d11ac
Bertik23 Add location tracking to IR parser
458599b3
Bertik23 Fix some OOB posibilities
ee39ed10
github-actions
Bertik23 Fix clang format
b0c5318d
Bertik23 Bertik23 marked this pull request as ready for review 136 days ago
llvmbot llvmbot added llvm:ir
llvmbot
mshockwave
mshockwave commented on 2025-08-28
Bertik23 Move private members to top of class definition
416514e8
mshockwave
mshockwave commented on 2025-08-29
Bertik23 Use SourceMgr to resolve Line:Column position
35ca1a50
Bertik23 Fix zeroindexing on token positions
b3d8254f
Bertik23 Replace Line:Column storage with Poiters and on demand conversion
23dcc6b4
mshockwave
mshockwave commented on 2025-09-03
Bertik23 Use nullptr as missing value
06d52654
Bertik23 Enclose debug prints of tests in LLVM_DEBUG
4e089210
Bertik23
mshockwave mshockwave requested a review from nikic nikic 122 days ago
mshockwave
mshockwave commented on 2025-09-11
Bertik23
mshockwave
mshockwave commented on 2025-09-12
mshockwave mshockwave requested a review from efriedma-quic efriedma-quic 121 days ago
mshockwave mshockwave requested a review from jurahul jurahul 121 days ago
Bertik23 Decapitalize DEBUG_TYPE
3da9e9db
arichardson
arichardson commented on 2025-09-15
Bertik23 Move FileLoc from Value.h to FileLoc.h
4b3bc0ee
Bertik23 Rename include guard defines to reflext filename
ed7a04a5
Bertik23 include in namespace llvm
e6142b5b
nikic
nikic commented on 2025-10-05
Bertik23 Fix typo in comment
f5da73c5
Bertik23 Path to llvm/AsmParser/FileLoc.h
10a2b759
Bertik23 assert.h -> cassert
17b5753f
Bertik23 Remove filename and emacs marker
737c5e02
Bertik23 optimize lookup
72b89e5a
Bertik23 FileLoc docs and fix reange
41284dfb
Bertik23 full path to includes
ff9a33d4
Bertik23 Apply suggestion from @nikic
008ae63d
Bertik23 Typo add period
a44ef20c
Bertik23 actually fix filelocrange openness
f201d1f4
Bertik23 remove old irrelevant comment
1de2447d
Bertik23 Doc coments with ///
4d518399
Bertik23 Doc coments with ///
77385c08
Bertik23 Merge remote-tracking branch 'upstream/main' into parser-location-info
f58e0ad2
Bertik23 Revert changes irrelevant in LLLexer
75e5b57d
Bertik23 revert formating
07689fce
Bertik23 make clang-format happy
66ce6b65
Bertik23
arichardson
arichardson commented on 2025-10-08
Bertik23
nikic
nikic approved these changes on 2025-10-22
Bertik23 typo fix and inline decrement
c0ac9d67
Bertik23
nikic
Bertik23
nikic nikic merged 18d4ba59 into main 81 days ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone