mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
Add more operators.
llvm-svn: 14589
This commit is contained in:
parent
5d7966a0ea
commit
b60ef8f308
@ -80,6 +80,8 @@ public:
|
||||
DataType operator--(int) { return Value--; }
|
||||
const Statistic &operator+=(const DataType &V) { Value += V; return *this; }
|
||||
const Statistic &operator-=(const DataType &V) { Value -= V; return *this; }
|
||||
const Statistic &operator*=(const DataType &V) { Value *= V; return *this; }
|
||||
const Statistic &operator/=(const DataType &V) { Value /= V; return *this; }
|
||||
};
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
Reference in New Issue
Block a user