[all-commits] [llvm/llvm-project] 513ba6: [mlir] Fully qualify generated C++ code in Rewrite...

zero9178 via All-commits all-commits at lists.llvm.org
Wed Feb 2 02:58:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 513ba61ca1a2934fb0ec0483fd03302b3ab14f6b
      https://github.com/llvm/llvm-project/commit/513ba61ca1a2934fb0ec0483fd03302b3ab14f6b
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpBase.td
    M mlir/test/mlir-tblgen/rewriter-static-matcher.td
    M mlir/tools/mlir-tblgen/RewriterGen.cpp

  Log Message:
  -----------
  [mlir] Fully qualify generated C++ code in RewriterGen.cpp

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.

Differential Revision: https://reviews.llvm.org/D118767




More information about the All-commits mailing list