Issue 165418
Summary [CI] Add dump_ast_matchers.py run to code-format CI workflow.
Labels new issue, github:workflow
Assignees
Reporter vbvictor
    We use [dump_ast_matchers.py](https://github.com/llvm/llvm-project/blob/main/clang/docs/tools/dump_ast_matchers.py) script to update [this](https://github.com/llvm/llvm-project/blob/main/clang/docs/LibASTMatchersReference.html) auto-generated file in case someone make changes to [ASTMatchers](https://github.com/llvm/llvm-project/blob/main/clang/include/clang/ASTMatchers/ASTMatchers.h).

It wasn't enforced in CI so people didn't know/forgot to run it. We should enforce it in CI as part of premerge code-format job.

The idea is to run this script on code and check if it changed any lines. If it didn't change any lines - developer already ran it. If it did change some lines - the developer didn't run locally, thus they should do it and update their patch.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to