While the changes are extensive, they basically fall into a few
categories:
- Moving the TestDialect itself.
- Updating C++ code in tablegen to explicitly use ::mlir, since it
will be put in a headers that shouldn't expect a 'using'.
- Updating some generic MLIR Interface definitions to do the same thing.
- Updating the Tablegen generator in a few places to be explicit about
namespaces
- Doing the same thing for llvm references, since we no longer pick
up the definitions from mlir/Support/LLVM.h
River mentioned to me that a good tradeoff would be to keep the using namespace mlir; but move it after the point where we include all the TableGen generated stuff.
That way all the manually written code in this file does not need to be clobbered with mlir:: everywhere.