================ @@ -0,0 +1,8 @@ +// RUN: %clang_analyze_cc1 -std=c++23 -analyzer-checker=core -verify %s ---------------- isuckatcs wrote:
I thought the [infrastructure used in clang-tidy](https://github.com/llvm/llvm-project/blob/c50415bb82a740426a5559ff7f1e350f394e9fcf/clang-tools-extra/test/clang-tidy/check_clang_tidy.py#L40) was incorporated into other projects as well, but it seems like it wasn't. For clang we do have an automatic standard picker in our [`config.py`](https://github.com/llvm/llvm-project/blob/c50415bb82a740426a5559ff7f1e350f394e9fcf/llvm/utils/lit/lit/llvm/config.py#L711) though. 😅 > What is the best approach to do this? I noticed in some files they duplicate > the line for each subsequent standard but that seems impractical. Duplicating the lines is the only way right now. https://github.com/llvm/llvm-project/pull/146859 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits