bool isIntOrIndexOrFloat() const;
/// Print the current type.
- void print(raw_ostream &os);
- void dump();
+ void print(raw_ostream &os) const;
+ void dump() const;
friend ::llvm::hash_code hash_value(Type arg);
llvm::errs() << "\n";
}
-void Type::print(raw_ostream &os) { ModulePrinter(os).printType(*this); }
+void Type::print(raw_ostream &os) const { ModulePrinter(os).printType(*this); }
-void Type::dump() { print(llvm::errs()); }
+void Type::dump() const { print(llvm::errs()); }
void AffineMap::dump() const {
print(llvm::errs());