mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
dd37b5a35b
The formatting of the testcases matters and shouldn't be overwritten by a tool.
16 lines
437 B
Plaintext
16 lines
437 B
Plaintext
{
|
|
"linters": {
|
|
"clang-format": {
|
|
"type": "script-and-regex",
|
|
"script-and-regex.script": "bash utils/arcanist/clang-format.sh",
|
|
"script-and-regex.regex": "/^(?P<severity>[[:alpha:]]+)\n(?P<message>[^\n]+)\n(====|(?P<line>\\d),(?P<char>\\d)\n(?P<original>.*)>>>>\n(?P<replacement>.*)<<<<\n)$/s",
|
|
"include": [
|
|
"(\\.(cc|cpp|h)$)"
|
|
],
|
|
"exclude": [
|
|
"(^clang/test/)"
|
|
]
|
|
}
|
|
}
|
|
}
|