================ @@ -0,0 +1,290 @@ +// RUN: %check_clang_tidy -std=c++11 -check-suffixes=,CPP11 %s bugprone-conflicting-global-accesses %t ---------------- ConcreteCactus wrote:
The checker flags some C++11 specific errors that shouldn't be flagged in later versions of the standard. (e.g. bitshift operators had their order of evaluation defined in C++17) Hence the argument. The default value to `-std` is `C++11-or-later`, which is not quite what I need. But I agree that the checker runs are missing a general case, so I'll change the `C++17` ones to `C++17-or-later`. https://github.com/llvm/llvm-project/pull/130421 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits