summaryrefslogtreecommitdiff
path: root/source/opt/build_module.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2017-11-08 12:40:02 -0500
committerDiego Novillo <dnovillo@google.com>2017-11-08 14:03:08 -0500
commitd2938e48427cb6e8d5996712c23496d62e3c08d1 (patch)
treef3d683cf92c471dfa3ad308ac013bbc1671a8723 /source/opt/build_module.cpp
parentf32d11f74b75eb7660375ab295fb9c150c429948 (diff)
downloadSPIRV-Tools-d2938e48427cb6e8d5996712c23496d62e3c08d1.tar.gz
SPIRV-Tools-d2938e48427cb6e8d5996712c23496d62e3c08d1.tar.bz2
SPIRV-Tools-d2938e48427cb6e8d5996712c23496d62e3c08d1.zip
Re-format files in source, source/opt, source/util, source/val and tools.
NFC. This just makes sure every file is formatted following the formatting definition in .clang-format. Re-formatted with: $ clang-format -i $(find source tools include -name '*.cpp') $ clang-format -i $(find source tools include -name '*.h')
Diffstat (limited to 'source/opt/build_module.cpp')
-rw-r--r--source/opt/build_module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/opt/build_module.cpp b/source/opt/build_module.cpp
index 766dbb52..e3439f3d 100644
--- a/source/opt/build_module.cpp
+++ b/source/opt/build_module.cpp
@@ -27,8 +27,8 @@ namespace {
spv_result_t SetSpvHeader(void* builder, spv_endianness_t, uint32_t magic,
uint32_t version, uint32_t generator,
uint32_t id_bound, uint32_t reserved) {
- reinterpret_cast<ir::IrLoader*>(builder)
- ->SetModuleHeader(magic, version, generator, id_bound, reserved);
+ reinterpret_cast<ir::IrLoader*>(builder)->SetModuleHeader(
+ magic, version, generator, id_bound, reserved);
return SPV_SUCCESS;
};