Add missing llvm:: and mlir:: namespaces qualifiers to some auto-generated code.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.td | ||
---|---|---|
475–477 | Nit: we prefer global fully qualified names, ::mlir::foo here in case the code is being emitted inside something like namespace myproject::mlir. |
mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td | ||
---|---|---|
64 | Also ::llvm here :) |
mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td | ||
---|---|---|
64 | As I can see, in all other places in this file llvm namespace is used without leading ::. So I decided to keep consistency :) |
mlir/include/mlir/Interfaces/SideEffectInterfaceBase.td | ||
---|---|---|
64 | I'd suggest updating those too. |
Nit: we prefer global fully qualified names, ::mlir::foo here in case the code is being emitted inside something like namespace myproject::mlir.