Commit 5dba723d by Stuart Morgan Committed by Commit Bot

Add newline-eof to warnings

Bug: angleproject:4757 Change-Id: I8ff6cb1277bf31ed8d6af667aa59ab8029633fe0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2247488 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 13816d2d
...@@ -141,6 +141,7 @@ config("extra_warnings") { ...@@ -141,6 +141,7 @@ config("extra_warnings") {
"-Wfloat-conversion", "-Wfloat-conversion",
"-Winconsistent-missing-destructor-override", "-Winconsistent-missing-destructor-override",
"-Wmissing-field-initializers", "-Wmissing-field-initializers",
"-Wnewline-eof",
"-Wnon-virtual-dtor", "-Wnon-virtual-dtor",
"-Wredundant-parens", "-Wredundant-parens",
"-Wshadow-field", "-Wshadow-field",
......
...@@ -23,4 +23,4 @@ ShShaderOutput CompilerMtl::getTranslatorOutputType() const ...@@ -23,4 +23,4 @@ ShShaderOutput CompilerMtl::getTranslatorOutputType() const
return SH_GLSL_METAL_OUTPUT; return SH_GLSL_METAL_OUTPUT;
} }
} // namespace rx } // namespace rx
\ No newline at end of file
...@@ -113,4 +113,4 @@ angle::Result RenderbufferMtl::initializeContents(const gl::Context *context, ...@@ -113,4 +113,4 @@ angle::Result RenderbufferMtl::initializeContents(const gl::Context *context,
{ {
return mtl::InitializeTextureContents(context, mTexture, mFormat, imageIndex); return mtl::InitializeTextureContents(context, mTexture, mFormat, imageIndex);
} }
} }
\ No newline at end of file
...@@ -34,4 +34,4 @@ mtl::CommandQueue &Context::cmdQueue() ...@@ -34,4 +34,4 @@ mtl::CommandQueue &Context::cmdQueue()
} }
} // namespace mtl } // namespace mtl
} // namespace rx } // namespace rx
\ No newline at end of file
...@@ -63,4 +63,4 @@ void InvalidateAllocation(VmaAllocator allocator, ...@@ -63,4 +63,4 @@ void InvalidateAllocation(VmaAllocator allocator,
} // namespace vma } // namespace vma
#endif // LIBANGLE_RENDERER_VULKAN_VK_MEM_ALLOC_WRAPPER_H_ #endif // LIBANGLE_RENDERER_VULKAN_VK_MEM_ALLOC_WRAPPER_H_
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment