Index: src/IceTypeConverter.h |
diff --git a/src/IceTypeConverter.h b/src/IceTypeConverter.h |
index f436e43e2476547596dcf9f4cf2b4373cb1cd592..193cac19f36bcb40d6c9c6268b92d5783edc9981 100644 |
--- a/src/IceTypeConverter.h |
+++ b/src/IceTypeConverter.h |
@@ -43,7 +43,7 @@ public: |
/// Converts LLVM type LLVMTy to an ICE type. Returns |
/// Ice::IceType_NUM if unable to convert. |
Type convertToIceType(llvm::Type *LLVMTy) const { |
- std::map<llvm::Type *, Type>::const_iterator Pos = LLVM2IceMap.find(LLVMTy); |
+ auto Pos = LLVM2IceMap.find(LLVMTy); |
if (Pos == LLVM2IceMap.end()) |
return convertToIceTypeOther(LLVMTy); |
return Pos->second; |