AaronBallman wrote:
It looks like precommit CI found a relevant failure:
```
******************** TEST 'Clang Tools :: clang-query/trailing-comma.c' FAILED
********************
Exit Code: 1
Command Output (stdout):
--
# shell parser error on RUN: at line 14: clang-query -c "$(echo "match
functionDecl( hasName( \"foo\" , ) , )" | sed "s/ /\n/g")"
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-query\trailing-comma.c
| FileCheck --check-prefix=CHECK-OK
C:\_work\llvm-project\llvm-project\clang-tools-extra\test\clang-query\trailing-comma.c
--
********************
```
I think the use of `sed` is fine, Maybe it's tripping up on `$()` ?
https://github.com/llvm/llvm-project/pull/148018
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits