mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 01:12:44 +00:00 
			
		
		
		
	Meta+Services: Make clang-format-10 clean
This commit is contained in:
		
							parent
							
								
									42dd0675c0
								
							
						
					
					
						commit
						934d4d4033
					
				
					 8 changed files with 32 additions and 30 deletions
				
			
		|  | @ -24,10 +24,10 @@ | |||
|  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
|  */ | ||||
| 
 | ||||
| #include <ImageDecoder/ClientConnection.h> | ||||
| #include <LibCore/EventLoop.h> | ||||
| #include <LibCore/LocalServer.h> | ||||
| #include <LibIPC/ClientConnection.h> | ||||
| #include <ImageDecoder/ClientConnection.h> | ||||
| 
 | ||||
| int main(int, char**) | ||||
| { | ||||
|  |  | |||
|  | @ -27,10 +27,10 @@ | |||
| #include <LibCore/EventLoop.h> | ||||
| #include <LibCore/LocalServer.h> | ||||
| #include <LibIPC/ClientConnection.h> | ||||
| #include <ProtocolServer/ClientConnection.h> | ||||
| #include <ProtocolServer/GeminiProtocol.h> | ||||
| #include <ProtocolServer/HttpProtocol.h> | ||||
| #include <ProtocolServer/HttpsProtocol.h> | ||||
| #include <ProtocolServer/ClientConnection.h> | ||||
| 
 | ||||
| int main(int, char**) | ||||
| { | ||||
|  |  | |||
|  | @ -38,8 +38,7 @@ Window* WindowList::find_parent(const Window& window) | |||
| { | ||||
|     if (!window.parent_identifier().is_valid()) | ||||
|         return nullptr; | ||||
|    for (auto& it : m_windows) | ||||
|    { | ||||
|     for (auto& it : m_windows) { | ||||
|         auto& w = *it.value; | ||||
|         if (w.identifier() == window.parent_identifier()) | ||||
|             return &w; | ||||
|  |  | |||
|  | @ -27,8 +27,8 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include "WindowIdentifier.h" | ||||
| #include <AK/String.h> | ||||
| #include <AK/HashMap.h> | ||||
| #include <AK/String.h> | ||||
| #include <LibGUI/Button.h> | ||||
| #include <LibGfx/Rect.h> | ||||
| 
 | ||||
|  |  | |||
|  | @ -213,9 +213,12 @@ void Compositor::compose() | |||
|     }; | ||||
| 
 | ||||
|     auto prepare_transparency_rect = [&](const Gfx::IntRect& rect) { | ||||
|     // clang-format off
 | ||||
|         // FIXME: clang-format gets confused here. Why?
 | ||||
|         // This function may be called multiple times with the same
 | ||||
|         // rect as we walk the window stack from back to front. However,
 | ||||
|         // there should be no overlaps with flush_rects
 | ||||
|     // clang-format on
 | ||||
| #ifdef COMPOSE_DEBUG | ||||
|         dbg() << "   -> flush transparent: " << rect; | ||||
| #endif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ben Wiederhake
						Ben Wiederhake