This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

zero9178 created this revision.Feb 2 2022, 2:46 AM
zero9178 requested review of this revision.Feb 2 2022, 2:46 AM
ftynse accepted this revision.Feb 2 2022, 2:54 AM
This 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
This revision was automatically updated to reflect the committed changes.