[all-commits] [llvm/llvm-project] 0d72fe: [mlir] Fix FunctionOpInterface extraSharedClassDec...

shkoo via All-commits all-commits at lists.llvm.org
Thu Feb 22 21:27:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d72fe9777e7c131dfb50c172b944d64437e2ece
      https://github.com/llvm/llvm-project/commit/0d72fe9777e7c131dfb50c172b944d64437e2ece
  Author: shkoo <nils at risczero.com>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/FunctionInterfaces.td

  Log Message:
  -----------
  [mlir] Fix FunctionOpInterface extraSharedClassDeclaration to be fully namespace qualified (#82682)

`extraSharedClassDeclaration` of `FunctionOpInterface` can be inherited
by other `OpInterfaces` into foreign namespaces, thus types must be
fully qualified to prevent compiler errors, for example:

    def MyFunc : OpInterface<"MyFunc", [FunctionOpInterface]> {
        let cppNamespace = "::MyNamespace";
    }



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list