From: Dennis Tsiang Date: Mon, 4 Oct 2021 07:44:14 +0000 (+0100) Subject: Fix formatting issues X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b348247fbe7ce272848523c5b2ab416928ab6d87;p=platform%2Fcore%2Fuifw%2Fvulkan-wsi-tizen.git Fix formatting issues All files in the project should have an empty line at the EOF. Necessary for some pre-processing tools. Change-Id: Ic4502588f2733f669fc1edc898258f8589c484c6 Signed-off-by: Dennis Tsiang --- diff --git a/util/file_descriptor.hpp b/util/file_descriptor.hpp index 870cfbb..f762f99 100644 --- a/util/file_descriptor.hpp +++ b/util/file_descriptor.hpp @@ -85,4 +85,4 @@ private: int fd_handle{ -1 }; }; -} /* namespace util */ \ No newline at end of file +} /* namespace util */ diff --git a/util/helpers.hpp b/util/helpers.hpp index 046a505..1dff400 100644 --- a/util/helpers.hpp +++ b/util/helpers.hpp @@ -44,4 +44,4 @@ const T *find_extension(VkStructureType sType, const void *pNext) } return reinterpret_cast(entry); } -} // namespace util \ No newline at end of file +} // namespace util diff --git a/util/log.cpp b/util/log.cpp index 3e616f5..5e29217 100644 --- a/util/log.cpp +++ b/util/log.cpp @@ -101,4 +101,4 @@ void wsi_log_message(int level, const char *file, int line, const char *format, #endif -} /* namespace util */ \ No newline at end of file +} /* namespace util */ diff --git a/util/log.hpp b/util/log.hpp index f77df9e..2bd71de 100644 --- a/util/log.hpp +++ b/util/log.hpp @@ -64,4 +64,4 @@ static constexpr bool wsi_log_enable = true; #define WSI_LOG_WARNING(...) WSI_LOG(2, __VA_ARGS__) #define WSI_LOG_INFO(...) WSI_LOG(3, __VA_ARGS__) -} /* namespace util */ \ No newline at end of file +} /* namespace util */ diff --git a/util/optional.hpp b/util/optional.hpp index 7af2ce8..cf3fa52 100644 --- a/util/optional.hpp +++ b/util/optional.hpp @@ -194,4 +194,4 @@ inline optional make_optional(Args &&...args) { return optional{T(std::forward(args)...)}; } -} \ No newline at end of file +} /* namespace util */ diff --git a/util/ring_buffer.hpp b/util/ring_buffer.hpp index 56c2351..9d77a2c 100644 --- a/util/ring_buffer.hpp +++ b/util/ring_buffer.hpp @@ -129,4 +129,4 @@ private: std::size_t m_size{}; }; -} /* namespace util */ \ No newline at end of file +} /* namespace util */ diff --git a/util/unordered_map.hpp b/util/unordered_map.hpp index 47d73ad..90c8c9a 100644 --- a/util/unordered_map.hpp +++ b/util/unordered_map.hpp @@ -131,4 +131,4 @@ public: } } }; -} \ No newline at end of file +} /* namespace util */ diff --git a/util/unordered_set.hpp b/util/unordered_set.hpp index 8d3ec3c..3fa6035 100644 --- a/util/unordered_set.hpp +++ b/util/unordered_set.hpp @@ -129,4 +129,4 @@ public: } } }; -} // namespace util \ No newline at end of file +} // namespace util diff --git a/util/wsialloc/wsialloc_ion.c b/util/wsialloc/wsialloc_ion.c index badfab4..a51561e 100644 --- a/util/wsialloc/wsialloc_ion.c +++ b/util/wsialloc/wsialloc_ion.c @@ -345,4 +345,4 @@ wsialloc_error wsialloc_alloc(wsialloc_allocator *allocator, const wsialloc_allo } } return err; -} \ No newline at end of file +} diff --git a/wsi/headless/surface.cpp b/wsi/headless/surface.cpp index 5a7daf7..e28060f 100644 --- a/wsi/headless/surface.cpp +++ b/wsi/headless/surface.cpp @@ -48,4 +48,4 @@ util::unique_ptr surface::allocate_swapchain(layer::device_priva } } /* namespace headless */ -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */ diff --git a/wsi/headless/surface.hpp b/wsi/headless/surface.hpp index 049f7ce..46cc4c6 100644 --- a/wsi/headless/surface.hpp +++ b/wsi/headless/surface.hpp @@ -45,4 +45,4 @@ public: }; } /* namespace headless */ -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */ diff --git a/wsi/surface.hpp b/wsi/surface.hpp index c879cce..2263e3e 100644 --- a/wsi/surface.hpp +++ b/wsi/surface.hpp @@ -63,4 +63,4 @@ public: const VkAllocationCallbacks *allocator) = 0; }; -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */ diff --git a/wsi/synchronization.cpp b/wsi/synchronization.cpp index cafc463..5e5a0d0 100644 --- a/wsi/synchronization.cpp +++ b/wsi/synchronization.cpp @@ -175,4 +175,4 @@ util::optional sync_fd_fence_sync::export_sync_fd() return {}; } -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */ diff --git a/wsi/synchronization.hpp b/wsi/synchronization.hpp index d32b94a..ee67431 100644 --- a/wsi/synchronization.hpp +++ b/wsi/synchronization.hpp @@ -176,4 +176,4 @@ private: sync_fd_fence_sync(layer::device_private_data &device, VkFence vk_fence); }; -} /* namespace wsi */ \ No newline at end of file +} /* namespace wsi */ diff --git a/wsi/wayland/surface.cpp b/wsi/wayland/surface.cpp index 5a3640f..c55db21 100644 --- a/wsi/wayland/surface.cpp +++ b/wsi/wayland/surface.cpp @@ -274,4 +274,4 @@ util::unique_ptr surface::allocate_swapchain(layer::device_priva } } // namespace wayland -} // namespace wsi \ No newline at end of file +} // namespace wsi diff --git a/wsi/wayland/surface.hpp b/wsi/wayland/surface.hpp index b98527e..164e683 100644 --- a/wsi/wayland/surface.hpp +++ b/wsi/wayland/surface.hpp @@ -155,4 +155,4 @@ private: }; } // namespace wayland -} // namespace wsi \ No newline at end of file +} // namespace wsi