diff options
Diffstat (limited to 'llvm/lib/BinaryFormat/Wasm.cpp')
-rw-r--r-- | llvm/lib/BinaryFormat/Wasm.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/BinaryFormat/Wasm.cpp b/llvm/lib/BinaryFormat/Wasm.cpp index 35360d0ae4f..ba8de34a6d2 100644 --- a/llvm/lib/BinaryFormat/Wasm.cpp +++ b/llvm/lib/BinaryFormat/Wasm.cpp @@ -25,7 +25,9 @@ std::string llvm::wasm::toString(wasm::WasmSymbolType type) { std::string llvm::wasm::relocTypetoString(uint32_t type) { switch (type) { -#define WASM_RELOC(NAME, VALUE) case VALUE: return #NAME; +#define WASM_RELOC(NAME, VALUE) \ + case VALUE: \ + return #NAME; #include "llvm/BinaryFormat/WasmRelocs.def" #undef WASM_RELOC default: |