[PATCH] D72217: [clang-tidy] Added readability-qualified-auto check

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 28 03:00:25 PST 2020


sammccall added a comment.

This check as configured for LLVM itself is pretty noisy, generating warnings like:

> warning: 'auto *CTSD' can be declared as 'const auto *CTSD' [llvm-qualified-auto]

which the LLVM dev guide doesn't have an opinion about.

AFAICS there's no option to disable just the const behavior, and no proposal to change the dev guidelines - is someone working on something here?
Otherwise I'd like to turn this off at least for clang-tools-extra.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72217/new/

https://reviews.llvm.org/D72217





More information about the cfe-commits mailing list