0x8000-0000 added inline comments.
================ Comment at: clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-const-correctness-transform-pointer-as-values.cpp:12 + // CHECK-MESSAGES: [[@LINE-1]]:3: warning: variable 'p_local0' of type 'double *' can be declared 'const' + // CHECK-FIXES: const +} ---------------- LegalizeAdulthood wrote: > Shouldn't this validate that the `const` was placed in the correct position? > e.g. `const double *` is a different meaning from `double *const` > > Apply to all the other `CHECK-FIXES` as well Can we have the checker merged in first, then we can worry about the automatic fixer? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D54943/new/ https://reviews.llvm.org/D54943 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits