[PATCH v1] perf tool: Align structs in arrays in .clang-format

Ian Rogers posted 1 patch 3 weeks, 2 days ago
tools/perf/.clang-format | 1 +
1 file changed, 1 insertion(+)
[PATCH v1] perf tool: Align structs in arrays in .clang-format
Posted by Ian Rogers 3 weeks, 2 days ago
Configure clang-format to ensure structs within arrays maintain left
alignment inside tools/perf/.clang-format. This prevents standard
formatting runs from arbitrarily squashing tabbed initialization pillars.

Signed-off-by: Ian Rogers <irogers@google.com>
Assisted-by: Antigravity:gemini-3.1-pro
---
 tools/perf/.clang-format | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/.clang-format b/tools/perf/.clang-format
index e4cff363a603..7cc11f84da88 100644
--- a/tools/perf/.clang-format
+++ b/tools/perf/.clang-format
@@ -21,3 +21,4 @@ IncludeCategories:
   # Your Project's Other Headers
   - Regex:           '^".*"'
     Priority:        4
+AlignArrayOfStructures: Left
-- 
2.55.0.966.g6673acef38-goog