[Mlir-commits] [mlir] 8fa261c - [mlir][spirv] Remove unnecessary friend class declaration

Lei Zhang llvmlistbot at llvm.org
Thu Mar 12 19:55:17 PDT 2020


Author: Lei Zhang
Date: 2020-03-12T22:55:02-04:00
New Revision: 8fa261ced1a57f876b372ef1b20e8f75acc2a6a7

URL: https://github.com/llvm/llvm-project/commit/8fa261ced1a57f876b372ef1b20e8f75acc2a6a7
DIFF: https://github.com/llvm/llvm-project/commit/8fa261ced1a57f876b372ef1b20e8f75acc2a6a7.diff

LOG: [mlir][spirv] Remove unnecessary friend class declaration

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h b/mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
index fa9e94046c46..385e79a0445e 100644
--- a/mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
+++ b/mlir/include/mlir/Dialect/SPIRV/SPIRVTypes.h
@@ -288,9 +288,6 @@ class StructType : public Type::TypeBase<StructType, CompositeType,
       return object[index];
     }
 
-    /// Allow StructType class access to constructors.
-    friend class ElementTypeRange;
-
     /// Allow base class access to `offset_base` and `dereference_iterator`.
     friend RangeBaseT;
   };


        


More information about the Mlir-commits mailing list