[all-commits] [llvm/llvm-project] 0aa307: [mlir] NFC NamedAttrList append with StringAttr

Jeff Niu via All-commits all-commits at lists.llvm.org
Thu Feb 17 12:30:44 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0aa3072649f20756bc06e8747d1a39cb1bbaeab1
      https://github.com/llvm/llvm-project/commit/0aa3072649f20756bc06e8747d1a39cb1bbaeab1
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2022-02-17 (Thu, 17 Feb 2022)

  Changed paths:
    M mlir/include/mlir/IR/OperationSupport.h
    M mlir/unittests/IR/OperationSupportTest.cpp

  Log Message:
  -----------
  [mlir] NFC NamedAttrList append with StringAttr

NamedAttrList.append(StringAttr, StringAttr) fails to compile because it is
matched to the IteratorT append. Fixes the method to only match if the type is
an iterator.




More information about the All-commits mailing list