Fznamznon wrote:

> where exactly do I add tests in clang subproject?

The tests are usually added under clang/test/... directories. For example the 
test changes somewhat related to semantic analysis and ast building for C++, 
the right directory would be clang/test/SemaCXX . It makes sense to check if 
there is a test file already that can be extended meaningfully, instead of 
adding a new file. If there is no such test, a new file is ok. The existing 
tests are good source of examples of how to add a test. Some info is also 
available at https://clang.llvm.org/docs/InternalsManual.html#testing .

https://github.com/llvm/llvm-project/pull/196092
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to