[all-commits] [llvm/llvm-project] 1232b9: [RISCV] Fix -Wbraced-scalar-init warning. NFC
Philipp Tomsich via All-commits
all-commits at lists.llvm.org
Mon Feb 13 08:57:23 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1232b9d47209fda762a9e5bc189d029451db5381
https://github.com/llvm/llvm-project/commit/1232b9d47209fda762a9e5bc189d029451db5381
Author: Philipp Tomsich <philipp.tomsich at vrull.eu>
Date: 2023-02-13 (Mon, 13 Feb 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
Log Message:
-----------
[RISCV] Fix -Wbraced-scalar-init warning. NFC
Fix the following warning:
/lib/Target/RISCV/RISCVISelLowering.cpp:315:24: error: braces around scalar initializer [-Werror,-Wbraced-scalar-init]
setOperationAction({ISD::CTLZ}, XLenVT, Legal);
^~~~~~~~~~~
More information about the All-commits
mailing list