[MLIR][NFC] Add SymbolUse::UseRange::empty()

Differential Revision: https://reviews.llvm.org/D84984
This commit is contained in:
Rahul Joshi 2020-07-30 14:18:33 -07:00
parent e56e9022bc
commit a34a8d5260
1 changed files with 1 additions and 0 deletions

View File

@ -150,6 +150,7 @@ public:
using iterator = std::vector<SymbolUse>::const_iterator;
iterator begin() const { return uses.begin(); }
iterator end() const { return uses.end(); }
bool empty() const { return uses.empty(); }
private:
std::vector<SymbolUse> uses;