[PATCH] D130793: [clang-tidy] adjust treating of array-of-pointers when 'AnalyzePointers' is deactivated
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 5 15:18:53 PDT 2022
njames93 added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.cpp:14
#include "clang/ASTMatchers/ASTMatchers.h"
+#include "llvm/Support/Casting.h"
----------------
Typically don't need this include.
================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc/const-correctness.rst:7
This check implements detection of local variables which could be declared as
-``const``, but are not. Declaring variables as ``const`` is required or recommended by many
+``const`` but are not. Declaring variables as ``const`` is required or recommended by many
coding guidelines, such as:
----------------
These documentation changes should be split into their own patch.
Same goes for below
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130793/new/
https://reviews.llvm.org/D130793
More information about the cfe-commits
mailing list