[llvm] 5e09c45 - [RISCV] Fix -Wbraced-scalar-init after D89025
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 23:34:13 PDT 2020
Author: Fangrui Song
Date: 2020-10-15T23:29:11-07:00
New Revision: 5e09c45cbb2411a9636001894b546eb05a6fee3c
URL: https://github.com/llvm/llvm-project/commit/5e09c45cbb2411a9636001894b546eb05a6fee3c
DIFF: https://github.com/llvm/llvm-project/commit/5e09c45cbb2411a9636001894b546eb05a6fee3c.diff
LOG: [RISCV] Fix -Wbraced-scalar-init after D89025
Added:
Modified:
llvm/include/llvm/Support/RISCVTargetParser.def
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/RISCVTargetParser.def b/llvm/include/llvm/Support/RISCVTargetParser.def
index a614aff03f23..6a06f9258105 100644
--- a/llvm/include/llvm/Support/RISCVTargetParser.def
+++ b/llvm/include/llvm/Support/RISCVTargetParser.def
@@ -2,9 +2,9 @@
#define PROC_ALIAS(NAME, RV32, RV64)
#endif
-PROC_ALIAS({"generic"}, {"generic-rv32"}, {"generic-rv64"})
-PROC_ALIAS({"rocket"}, {"rocket-rv32"}, {"rocket-rv64"})
-PROC_ALIAS({"sifive-7-series"}, {"sifive-7-rv32"}, {"sifive-7-rv64"})
+PROC_ALIAS("generic", "generic-rv32", "generic-rv64")
+PROC_ALIAS("rocket", "rocket-rv32", "rocket-rv64")
+PROC_ALIAS("sifive-7-series", "sifive-7-rv32", "sifive-7-rv64")
#undef PROC_ALIAS
More information about the llvm-commits
mailing list