Paul Sokolovsky | 2a28541 | 2023-04-18 11:35:08 +0300 | [diff] [blame] | 1 | # |
Paul Sokolovsky | 880714e | 2023-06-12 21:00:23 +0300 | [diff] [blame] | 2 | # Copyright (c) 2022-2023, Arm Limited. All rights reserved. |
Paul Sokolovsky | 2a28541 | 2023-04-18 11:35:08 +0300 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | # External aka 3rd-party sources included in a project. |
| 7 | # These are intended to be filtered from MISRA reports (as we don't have |
| 8 | # control over them, can't easily fix issues in them, and generally that's |
| 9 | # normally out of scope of the project). |
| 10 | |
| 11 | -doc_begin="Treat LIBC as external, as they have many peculiar declarations leading to spurious warnings." |
| 12 | -file_tag+={external, "^include/lib/libc/.*$"} |
| 13 | -file_tag+={external, "^lib/libc/.*$"} |
| 14 | -doc_end |
| 15 | |
| 16 | -file_tag+={external, "^lib/compiler-rt/.*$"} |
| 17 | -file_tag+={external, "^include/lib/libfdt/.*$"} |
| 18 | -file_tag+={external, "^lib/libfdt/.*$"} |