summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Tsiang <dennis.tsiang@arm.com>2021-10-04 08:44:14 +0100
committerMatteo Franchin <matteo.franchin@arm.com>2021-10-29 08:51:25 +0000
commitb348247fbe7ce272848523c5b2ab416928ab6d87 (patch)
tree7ac2ea249eeb345dd0337f064d1ee18f0b7a21ad
parentb96455b8459bd32580d2fe64e2579726a7003d7f (diff)
downloadvulkan-wsi-layer-b348247fbe7ce272848523c5b2ab416928ab6d87.tar.gz
vulkan-wsi-layer-b348247fbe7ce272848523c5b2ab416928ab6d87.tar.bz2
vulkan-wsi-layer-b348247fbe7ce272848523c5b2ab416928ab6d87.zip
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 <dennis.tsiang@arm.com>
-rw-r--r--util/file_descriptor.hpp2
-rw-r--r--util/helpers.hpp2
-rw-r--r--util/log.cpp2
-rw-r--r--util/log.hpp2
-rw-r--r--util/optional.hpp2
-rw-r--r--util/ring_buffer.hpp2
-rw-r--r--util/unordered_map.hpp2
-rw-r--r--util/unordered_set.hpp2
-rw-r--r--util/wsialloc/wsialloc_ion.c2
-rw-r--r--wsi/headless/surface.cpp2
-rw-r--r--wsi/headless/surface.hpp2
-rw-r--r--wsi/surface.hpp2
-rw-r--r--wsi/synchronization.cpp2
-rw-r--r--wsi/synchronization.hpp2
-rw-r--r--wsi/wayland/surface.cpp2
-rw-r--r--wsi/wayland/surface.hpp2
16 files changed, 16 insertions, 16 deletions
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<const T *>(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<T> make_optional(Args &&...args)
{
return optional<T>{T(std::forward<Args>(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<swapchain_base> 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<util::fd_owner> 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<swapchain_base> 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