[all-commits] [llvm/llvm-project] b35bb7: [mlir] Fix 'StringSet' may not intend to support c...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Wed Sep 11 04:47:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b35bb7b797e81e1d972c8e6d60e20e39c1917b99
      https://github.com/llvm/llvm-project/commit/b35bb7b797e81e1d972c8e6d60e20e39c1917b99
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M mlir/tools/mlir-tblgen/OmpOpGen.cpp

  Log Message:
  -----------
  [mlir] Fix 'StringSet' may not intend to support class template argument deduction (NFC)

/llvm-project/mlir/tools/mlir-tblgen/OmpOpGen.cpp:202:3:
error: 'StringSet' may not intend to support class template argument deduction [-Werror,-Wctad-maybe-unsupported]
  llvm::StringSet superClasses;
  ^
/llvm-project/llvm/include/llvm/ADT/StringSet.h:23:7: note: add a deduction guide to suppress this warning
class StringSet : public StringMap<std::nullopt_t, AllocatorTy> {
      ^



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