to268 wrote: FYI: There is currently 26 PRs that impacts `Sema.h`, bellow is the bash one liner with GitHub CLI to count the numbers of impacted PRs and another one to list links to impacted PRs.
- Count all impacted PRs: ```bash gh pr list --json files --jq '.[] | {paths: [.files[].path | select(. == "clang/include/clang/Sema/Sema.h")]} | select(.paths | length > 0)' -L 30000 | wc -l ``` - List the link to all impacted PRs: ```bash gh pr list --json number,files --jq '.[] | select(.files[].path == "clang/include/clang/Sema/Sema.h") | {number}' -L 30000 | cut -d ':' -f2 | tr -d '}' | sed 's|^|https://github.com/llvm/llvm-project/pull/|' ``` https://github.com/llvm/llvm-project/pull/82217 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits