[llvm] 2f671c4 - [WebAssembly] Fix gcc warning [NFC]
Mikael Holmen via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 4 01:07:36 PDT 2020
Author: Mikael Holmen
Date: 2020-06-04T10:03:13+02:00
New Revision: 2f671c42254dfbc67dfbeb3d4cc51909b1cef836
URL: https://github.com/llvm/llvm-project/commit/2f671c42254dfbc67dfbeb3d4cc51909b1cef836
DIFF: https://github.com/llvm/llvm-project/commit/2f671c42254dfbc67dfbeb3d4cc51909b1cef836.diff
LOG: [WebAssembly] Fix gcc warning [NFC]
gcc 7.4 complained with
../lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp:125:23: warning: extra ';' [-Wpedantic]
false);
^
Added:
Modified:
llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp b/llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
index 25b37db1c4c8..d91108132aee 100644
--- a/llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
+++ b/llvm/lib/Target/WebAssembly/WebAssemblyFixBrTableDefaults.cpp
@@ -122,7 +122,7 @@ bool WebAssemblyFixBrTableDefaults::runOnMachineFunction(MachineFunction &MF) {
INITIALIZE_PASS(WebAssemblyFixBrTableDefaults, DEBUG_TYPE,
"Removes range checks and sets br_table default targets", false,
- false);
+ false)
FunctionPass *llvm::createWebAssemblyFixBrTableDefaults() {
return new WebAssemblyFixBrTableDefaults();
More information about the llvm-commits
mailing list