================ @@ -179,6 +180,8 @@ class BugproneModule : public ClangTidyModule { CheckFactories.registerCheck<cppcoreguidelines::NarrowingConversionsCheck>( "bugprone-narrowing-conversions"); CheckFactories.registerCheck<NoEscapeCheck>("bugprone-no-escape"); + CheckFactories.registerCheck<NondeterministicPointerUsageCheck>( + "bugprone-nondeterministic-pointer-usage"); ---------------- whisperity wrote:
@vabridgers How about `bugprone-nondeterministic-pointer-iteration-order`? Or `bugprone-nondeterministic-associative-container-with-pointer-keys`? "Usage" is a bit broad, and we are discussing pointers-as-hashmap-keys essentially. https://github.com/llvm/llvm-project/pull/110471 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits