Skip to content

Commit 47bdbb3

Browse files
committed
Remove unused MCSection::empty
CurFragList->Head should be non-null, so empty() is not useful.
1 parent acb7dfa commit 47bdbb3

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)