================ @@ -1,5 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++11 -verify -triple x86_64-apple-darwin %s // RUN: %clang_cc1 -fsyntax-only -pedantic -std=c++17 -verify -triple x86_64-apple-darwin %s ---------------- zwuis wrote:
We can change `-verify` to `-verify=expected,cxx11-17` so that we can use `// cxx11-17-warning {{...}}` instead of adding `#if` block for some test cases. See <https://clang.llvm.org/docs/InternalsManual.html#testing>. https://github.com/llvm/llvm-project/pull/152698 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits