Author: lh123 Date: 2020-06-27T18:58:03+08:00 New Revision: 43e3c39327f9c32bea73b2629b718e9f5fd678d1
URL: https://github.com/llvm/llvm-project/commit/43e3c39327f9c32bea73b2629b718e9f5fd678d1 DIFF: https://github.com/llvm/llvm-project/commit/43e3c39327f9c32bea73b2629b718e9f5fd678d1.diff LOG: Revert "[Docs] Fix typo and test git commit access. NFC." This reverts commit c19e82c6b38b74c56d595cb69582b7c3727762b5. Added: Modified: clang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst Removed: ################################################################################ diff --git a/clang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst b/clang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst index 0cf665c13c9d..60a828c8741b 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/readability-make-member-function-const.rst @@ -26,7 +26,7 @@ ways where logical constness and physical constness coincide: Specifically, this check will not suggest to add a ``const`` to a non-const method if the method reads a private member variable of pointer type because -that allows to modify the pointer which might not preserve logical constness. +that allows to modify the pointee which might not preserve logical constness. For the same reason, it does not allow to call private member functions or member functions on private member variables. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits