By fully qualifying the use of any types and functions from the mlir namespace, users are not required to add using namespace mlir; into the C++ file including the Tablegen output.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D118767
[mlir] Fully qualify generated C++ code in RewriterGen.cpp ClosedPublic Authored by zero9178 on Feb 2 2022, 2:46 AM.
Details Summary By fully qualifying the use of any types and functions from the mlir namespace, users are not required to add using namespace mlir; into the C++ file including the Tablegen output.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Feb 2 2022, 2:54 AM This revision was landed with ongoing or failed builds.Feb 2 2022, 2:58 AM Closed by commit rG513ba61ca1a2: [mlir] Fully qualify generated C++ code in RewriterGen.cpp (authored by zero9178). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 405189 mlir/include/mlir/IR/OpBase.td
mlir/test/mlir-tblgen/rewriter-static-matcher.td
mlir/tools/mlir-tblgen/RewriterGen.cpp
|