소스 검색

[spirv] Remove unused MapInfo struct.

Ehsan Nasiri 6 년 전
부모
커밋
67bab1ffdc
1개의 변경된 파일0개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 14
      tools/clang/include/clang/SPIRV/SPIRVContext.h

+ 0 - 14
tools/clang/include/clang/SPIRV/SPIRVContext.h

@@ -42,20 +42,6 @@ struct StorageClassDenseMapInfo {
   }
 };
 
-// Provides DenseMapInfo for QualType so that we can use it key to DenseMap.
-//
-// Mostly from DenseMapInfo<unsigned> in DenseMapInfo.h.
-struct QualTypeDenseMapInfo {
-  static inline QualType getEmptyKey() { return {}; }
-  static inline QualType getTombstoneKey() { return {}; }
-  static unsigned getHashValue(const QualType &Val) {
-    return llvm::hash_combine(Val.getTypePtr(), Val.getCVRQualifiers());
-  }
-  static bool isEqual(const QualType &LHS, const QualType &RHS) {
-    return LHS == RHS;
-  }
-};
-
 // Provides DenseMapInfo for ArrayType so we can create a DenseSet of array
 // types.
 struct ArrayTypeMapInfo {