mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Append newlines to EOF of all translation units. (#11654)
We are switching to -Wnewline-eof soon and these will become errors. Anyway, this was undefined behavior.
This commit is contained in:
parent
9d61b9a31a
commit
d5242ff205
@ -148,4 +148,4 @@ void KeyEventHandler::KeyboardHook(GLFWwindow* window,
|
||||
channel_->Send(event);
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@ -184,4 +184,4 @@ EGLBoolean AngleSurfaceManager::SwapBuffers(const EGLSurface surface) {
|
||||
return (eglSwapBuffers(egl_display_, surface));
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@ -60,4 +60,4 @@ void KeyEventHandler::KeyboardHook(Win32FlutterWindow* window,
|
||||
channel_->Send(event);
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@ -325,4 +325,4 @@ void Win32FlutterWindow::DestroyRenderSurface() {
|
||||
render_surface = EGL_NO_SURFACE;
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@ -176,4 +176,4 @@ class Win32FlutterWindow : public Win32Window {
|
||||
|
||||
} // namespace flutter
|
||||
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WINDOW_H_
|
||||
|
||||
@ -237,4 +237,4 @@ Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
|
||||
GetWindowLongPtr(window, GWLP_USERDATA));
|
||||
}
|
||||
|
||||
} // namespace flutter
|
||||
} // namespace flutter
|
||||
|
||||
@ -129,4 +129,4 @@ class Win32Window {
|
||||
|
||||
} // namespace flutter
|
||||
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
|
||||
#endif // FLUTTER_SHELL_PLATFORM_WINDOWS_FLUTTER_WIN32_WINDOW_H_
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user