diff options
author | Fangrui Song <i@maskray.me> | 2024-01-26 10:43:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-26 10:43:02 -0800 |
commit | 26cc651f1b2a9c74ce332a14f0e35c03db34876b (patch) | |
tree | ed20a9111a893b9ac46151720693bdbf8de11b57 /llvm/lib/CodeGen/BranchFolding.cpp | |
parent | 02d3a799e7eb2997950d6a288a08a5e51ff0ff59 (diff) | |
download | llvm-26cc651f1b2a9c74ce332a14f0e35c03db34876b.zip llvm-26cc651f1b2a9c74ce332a14f0e35c03db34876b.tar.gz llvm-26cc651f1b2a9c74ce332a14f0e35c03db34876b.tar.bz2 |
[ELF] Improve comment of InputSection::file and update getFile. NFC (#79550)
Clarify a comment after #78944.
All uses of `getFile()` assert `file` is non-null. `getFile` is not used
with a
synthetic section. Replace `cast_or_null` with `cast`.
Diffstat (limited to 'llvm/lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions