Index: src/IceTypeConverter.h |
diff --git a/src/IceTypeConverter.h b/src/IceTypeConverter.h |
index 089c923a3c3b81848e9844ff907cf42323fa4dfc..c06719167a783ccfc2a223b2efdc3c1d0708f634 100644 |
--- a/src/IceTypeConverter.h |
+++ b/src/IceTypeConverter.h |
@@ -44,7 +44,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; |