Index: src/IceCfg.h |
diff --git a/src/IceCfg.h b/src/IceCfg.h |
index b7a7ce4a738ab9e5c98880060bae5b76d7deefd3..338f8f14ae6a5c884107d38888423ceef591555b 100644 |
--- a/src/IceCfg.h |
+++ b/src/IceCfg.h |
@@ -132,7 +132,7 @@ public: |
// makeSpillVariable, and makeStackVariable. |
template <typename T = Variable> T *makeVariable(Type Ty) { |
SizeT Index = Variables.size(); |
- T *Var = T::create(this, Ty, Index); |
+ auto *Var = T::create(this, Ty, Index); |
Variables.push_back(Var); |
return Var; |
} |