summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorShilei Tian <i@tianshilei.me>2022-12-07 15:28:20 -0500
committerShilei Tian <i@tianshilei.me>2022-12-07 15:32:04 -0500
commit7ec057ff4a0662fea834af607b48d39b490c0aa0 (patch)
tree401e527161b81307a0a57a540e67874b757199e2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent7806f86a5eed6b858e47ab6c4aac5c3618d2af5f (diff)
[NFC][Object] Include header `BitcodeReader.h` instead of using forward declaration for BitcodeModule
`BitcodeModule` is used as element of a vector in `IRSymtabFile`, while in the header there is only a forward declaration. It will work if the header `BitcodeReader.h` is included before including `IRObjectFile.h`. However, it is not always the case, causing compilation error. This patch simply includes the header and remove the forward declaration. Reviewed By: tejohnson Differential Revision: https://reviews.llvm.org/D139556
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions