================ @@ -0,0 +1,27 @@ +// RUN: rm -rf %t +// RUN: mkdir -p %t +// RUN: split-file %s %t +// RUN: %clang -std=c++20 -x c++-module --precompile %t/mymodule.cppm -o %t/mymodule.pcm -I%t +// RUN: %check_clang_tidy %t/main.cpp performance-trivially-destructible %t/out -std=c++20 \ +// RUN: -- -I%t -fmodule-file=mymodule=%t/mymodule.pcm ---------------- localspook wrote:
All the tests pass... but I'm not sure how? AFAIK the syntax is ```cpp // RUN: %check_clang_tidy -- <options to clang-tidy> -- <options to clang> ``` `-I%t` and `-fmodule-file=mymodule=%t/mymodule.pcm` are options to clang, but they come only after one `--`, so shouldn't clang-tidy be complaining about unrecognized arguments :thinking: LGTM apart from that though https://github.com/llvm/llvm-project/pull/178471 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
