[all-commits] [llvm/llvm-project] b6cce8: [RISCV] Fix -Wbraced-scalar-init in RISCVISelLower...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Sun Dec 17 04:00:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6cce87110072a2db19276e042cd40b06285abbc
      https://github.com/llvm/llvm-project/commit/b6cce87110072a2db19276e042cd40b06285abbc
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2023-12-17 (Sun, 17 Dec 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Fix -Wbraced-scalar-init in RISCVISelLowering.cpp (NFC)

llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:339:24:
 error: braces around scalar initializer [-Werror,-Wbraced-scalar-init]
  339 |     setOperationAction({ISD::ROTL}, XLenVT, Expand);
      |                        ^~~~~~~~~~~
1 error generated.




More information about the All-commits mailing list