diff --git a/clang-tools-extra/docs/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.rst b/clang-tools-extra/docs/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.rst index 8b6749938957..a8293297c121 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/bugprone/compare-pointer-to-member-virtual-function.rst @@ -7,6 +7,7 @@ Detects unspecified behavior about equality comparison between pointer to member virtual function and anything other than null-pointer-constant. .. code-block:: c++ + struct A { void f1(); void f2();