summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-02 08:34:20 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-09 17:03:35 -0300
commit26c137421fd59a0e7410d1148b42b2d4f4870daa (patch)
treecb82c8b47bb194f8dbeffece3e1b651103c0e620 /tools
parent1572ba36fbca95835dc17b35a70c4524301205c6 (diff)
perf tool: Align structs in arrays in .clang-format
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 Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/.clang-format1
1 files changed, 1 insertions, 0 deletions
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