Remove unused IsSingleResult template
authorLei Zhang <antiagainst@google.com>
Tue, 28 May 2019 19:14:26 +0000 (12:14 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 03:06:10 +0000 (20:06 -0700)
--

PiperOrigin-RevId: 250335025

mlir/include/mlir/IR/OpDefinition.h

index 58d19d7..0ede2f8 100644 (file)
@@ -48,12 +48,6 @@ struct typelist_contains {
 template <typename same, typename first>
 struct typelist_contains<same, first> : std::is_same<same, first> {};
 
-/// This type trait is used to determine if an operation has a single result.
-template <typename OpType> struct IsSingleResult {
-  static const bool value = std::is_convertible<
-      OpType *, OpTrait::OneResult<typename OpType::ConcreteOpType> *>::value;
-};
-
 /// This class represents success/failure for operation parsing. It is
 /// essentially a simple wrapper class around LogicalResult that allows for
 /// explicit conversion to bool. This allows for the parser to chain together