[all-commits] [llvm/llvm-project] 25dd93: [TableGen] Add declarations to silence gcc warning...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Feb 5 11:23:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25dd93aab669bafab41eda7537fdc9696bbc5f31
      https://github.com/llvm/llvm-project/commit/25dd93aab669bafab41eda7537fdc9696bbc5f31
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-02-05 (Wed, 05 Feb 2025)

  Changed paths:
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h

  Log Message:
  -----------
  [TableGen] Add declarations to silence gcc warning. NFC (#125892)

Add declarations of SDTypeConstraint's operator== and operator< to the
llvm namespace. These are declared as friends inside the class which
makes them part of the enclosing namespace, but gcc wants it to be more
explicit.

Fixes #125537.



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