From cc8c558234402b8f9986be82fc72c94e1dcdcc53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= <26327373+vkucera@users.noreply.github.com> Date: Fri, 9 Oct 2026 18:25:07 +0200 Subject: [PATCH] Remove deprecated formatting script --- Scripts/format_includes.awk | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 Scripts/format_includes.awk diff --git a/Scripts/format_includes.awk b/Scripts/format_includes.awk deleted file mode 100755 index b0224f1f747..00000000000 --- a/Scripts/format_includes.awk +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/awk -f - -# Fix include style. -# NB: Run before sorting. - -{ - if ($1 ~ /^#include/) { - h = substr($2, 2, length($2) - 2) - if ( h ~ /^(PWG[A-Z]{2}|Common|ALICE3|DPG|EventFiltering|PID|Tools|Tutorials)\/.*\.h/ ) { $2 = "\""h"\"" } # O2Physics - else if ( h ~ /^(Algorithm|CCDB|Common[A-Z]|DataFormats|DCAFitter|Detectors|EMCAL|FDD|Field|Framework|FT0|FV0|GlobalTracking|GPU|ITS|MathUtils|MCH|MFT|MID|PHOS|ReconstructionDataFormats|SimulationDataFormat|TOF|TPC|ZDC).*\/.*\.h/ ) { $2 = "<"h">" } # O2 - else if ( h ~ /^(T[A-Z]|Math\/|Roo[A-Z])[[:alnum:]\/]+\.h/ ) { $2 = "<"h">" } # ROOT - else if ( h ~ /^KF[A-Z][[:alnum:]]+\.h/ ) { $2 = "<"h">" } # KFParticle - else if ( h ~ /^(fastjet\/|onnxruntime)/ ) { $2 = "<"h">" } # FastJet, ONNX - else if ( h ~ /^.*DataModel\// ) { $2 = "\""h"\"" } # incomplete path to DataModel - else if ( h ~ /^([[:alnum:]_]+\/)+[[:alnum:]_]+\.h/ ) { $2 = "<"h">" } # other third-party - else if ( $2 ~ /^".*\./ ) { } # other local-looking file - else if ( h ~ /^[[:lower:]_]+\.h/ ) { $2 = "<"h">" } # C system - else if ( h ~ /^[[:lower:]_\/]+$/ ) { $2 = "<"h">" } # C++ system - } - print -}