5chmidti wrote:

Thanks.

> ... how this impacts build times for Clang itself? I'm assuming that if 
> ASTMatchers.h isn't modified, CMake won't re-run 
> generate_ast_matcher_doc_tests.py and so the compile time performance hit is 
> only on full rebuilds or when changing the header?

The 'state' of the generated file is only checked when the `ASTMatchersTests` 
target is built, because it's the only thing that depends on the generated 
file. And the file is only generated when: the file does not exist or 
`ASTMatchers.h` has changed (excluding transitive changes in includes) or 
`generate_ast_matcher_doc_tests.py` has changed.

https://github.com/llvm/llvm-project/pull/94248
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to