Skip to content

Commit f368551

Browse files
MaskRaygithub-actions[bot]
authored andcommitted
Automerge: Remove unused MCSection::empty
CurFragList->Head should be non-null, so empty() is not useful.
2 parents b06b9fd + 47bdbb3 commit f368551

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/include/llvm/MC/MCSection.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ class MCSection {
181181
FragList *curFragList() const { return CurFragList; }
182182
iterator begin() const { return iterator(CurFragList->Head); }
183183
iterator end() const { return {}; }
184-
bool empty() const { return !CurFragList->Head; }
185184

186185
void dump() const;
187186

0 commit comments

Comments
 (0)