Commit ba2a221
committed
Arm backend: Fix pre-push copyright header detection
The license check used any Arm substring in the first header lines to
decide whether a file had an Arm copyright header.
That misclassified files with includes such as arm_neon.h as having
an Arm header, then failed them when the current Arm year was absent.
Match the actual Arm copyright line instead so non-Arm headers are
skipped while real Arm headers still get the year check.
Signed-off-by: Per Held <per.held@arm.com>
Change-Id: Iafda07d8e2cf379672939a268fc3c39fc0ab895e1 parent 7f19a2e commit ba2a221
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
187 | | - | |
| 187 | + | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
0 commit comments