From 3134f6a08f9d308f5cffb0076f7d22a836605f9b Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 16 Feb 2026 14:10:25 +0400 Subject: [PATCH] [ai] Improve style rule for trailing newlines. --- REVIEW.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/REVIEW.md b/REVIEW.md index 33345a7cb2..5900278677 100644 --- a/REVIEW.md +++ b/REVIEW.md @@ -4,7 +4,7 @@ This file contains style and formatting rules that the review subagent must chec ## Empty line before closing brace -Always add an empty line before the closing brace of a class (after all private fields): +Always add an empty line before the closing brace of a **class** (which has one or more sections like `public:` / `private:`). Plain **structs** with just data members do NOT get a trailing empty line — they are compact: `struct Foo { data lines; };`. ```cpp // BAD: