1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[TableGen] Make InstrMap::getFilterClass() const. NFCI.

Reported by cppcheck.

I've run clang-format across all the InstrMap accessors as well.
This commit is contained in:
Simon Pilgrim 2020-12-17 14:34:13 +00:00
parent 71ab5028de
commit b8b1f24100

View File

@ -144,25 +144,15 @@ public:
}
}
std::string getName() const {
return Name;
}
std::string getName() const { return Name; }
std::string getFilterClass() {
return FilterClass;
}
std::string getFilterClass() const { return FilterClass; }
ListInit *getRowFields() const {
return RowFields;
}
ListInit *getRowFields() const { return RowFields; }
ListInit *getColFields() const {
return ColFields;
}
ListInit *getColFields() const { return ColFields; }
ListInit *getKeyCol() const {
return KeyCol;
}
ListInit *getKeyCol() const { return KeyCol; }
const std::vector<ListInit*> &getValueCols() const {
return ValueCols;