Make raw_ostream operator<< follow const correctness semantic,
since it is a requirement of FormatVariadic implementation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/IR/OpDefinition.h | ||
---|---|---|
112–118 | I'd rather move the const_cast to a raw_ostream specific method, so that const doesn't seep into the core classes. Is that possible? |
mlir/unittests/IR/OperationSupportTest.cpp | ||
---|---|---|
222 | This is leaky: https://lab.llvm.org/staging/#/builders/191/builds/350 Can you make sure to destroy it? |
mlir/unittests/IR/OperationSupportTest.cpp | ||
---|---|---|
222 |
I'd rather move the const_cast to a raw_ostream specific method, so that const doesn't seep into the core classes. Is that possible?