diff options
| author | Shilei Tian <i@tianshilei.me> | 2022-12-07 15:28:20 -0500 |
|---|---|---|
| committer | Shilei Tian <i@tianshilei.me> | 2022-12-07 15:32:04 -0500 |
| commit | 7ec057ff4a0662fea834af607b48d39b490c0aa0 (patch) | |
| tree | 401e527161b81307a0a57a540e67874b757199e2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 7806f86a5eed6b858e47ab6c4aac5c3618d2af5f (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
