[all-commits] [llvm/llvm-project] 214170: Fix operator!= for Dialects.

Mehdi Amini via All-commits all-commits at lists.llvm.org
Thu Sep 10 12:18:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2141705337989195b448e292955f08884babbcbd
      https://github.com/llvm/llvm-project/commit/2141705337989195b448e292955f08884babbcbd
  Author: Federico Lebrón <flebron at google.com>
  Date:   2020-09-10 (Thu, 10 Sep 2020)

  Changed paths:
    M mlir/include/mlir/TableGen/Dialect.h

  Log Message:
  -----------
  Fix operator!= for Dialects.

Currently the global operator!=(bool, bool) is selected due to the implicit bool
conversion operator. Since this is never the desired semantics, we give it a
standard operator!= and make the bool conversion explicit.

Depends On D86809

Reviewed By: rriddle

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




More information about the All-commits mailing list