mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +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:
parent
71ab5028de
commit
b8b1f24100
@ -144,25 +144,15 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string getName() const {
|
std::string getName() const { return Name; }
|
||||||
return Name;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string getFilterClass() {
|
std::string getFilterClass() const { return FilterClass; }
|
||||||
return FilterClass;
|
|
||||||
}
|
|
||||||
|
|
||||||
ListInit *getRowFields() const {
|
ListInit *getRowFields() const { return RowFields; }
|
||||||
return RowFields;
|
|
||||||
}
|
|
||||||
|
|
||||||
ListInit *getColFields() const {
|
ListInit *getColFields() const { return ColFields; }
|
||||||
return ColFields;
|
|
||||||
}
|
|
||||||
|
|
||||||
ListInit *getKeyCol() const {
|
ListInit *getKeyCol() const { return KeyCol; }
|
||||||
return KeyCol;
|
|
||||||
}
|
|
||||||
|
|
||||||
const std::vector<ListInit*> &getValueCols() const {
|
const std::vector<ListInit*> &getValueCols() const {
|
||||||
return ValueCols;
|
return ValueCols;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user