Change to non-deprecated function template (see D121075).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/unittests/Transforms/Canonicalizer.cpp | ||
---|---|---|
78 | Can we drop the mlir:: here? |
Comment Actions
Hello @csigg, there seems to be another use of the deprecated parseSourceString function in mlir/lib/CAPI/IR/IR.cpp that is causing a deprecated error in our builds. Would you mind please updating that use as well? Thanks!
Comment Actions
Done.
Does that mean that we are not supposed to mark things deprecated?
Or would it make sense to only treat deprecations as warnings in your build?
Comment Actions
Thanks for fixing the use. I was about to submit a change myself but saw that you had a similar one and decided to ask.
In this particular instance I thought it was better to fix the call site rather than ignore the warning / error. I can't speak to the preferences of the entire LLVM community, however.
Can we drop the mlir:: here?