================ @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s cppcoreguidelines-interfaces-global-init %t +// RUN: %check_clang_tidy -std=c++20 %s cppcoreguidelines-interfaces-global-init %t ---------------- localspook wrote:
Would you be fine with some `#if __cplusplus >= 202002L` guards instead? The code blocks with `constinit` mirror code blocks without it, so I feel the test reads better when they stay together. https://github.com/llvm/llvm-project/pull/148334 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits