[PATCH] D130793: [clang-tidy] adjust treating of array-of-pointers when 'AnalyzePointers' is deactivated
Jonas Toth via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 30 02:34:15 PDT 2022
JonasToth added inline comments.
================
Comment at: clang-tools-extra/test/clang-tidy/checkers/misc/const-correctness-pointer-as-values.cpp:16
+void range_for() {
+ int np_local0[2] = {1, 2};
+ int *p_local0[2] = {&np_local0[0], &np_local0[1]};
----------------
the tests must be exanded to check that typedefs in arrays are handled properly.
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