[PATCH] D73548: [clang-tidy] Added option for disabling const qualifiers in readability-qualified-auto
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 28 06:23:56 PST 2020
njames93 created this revision.
Herald added subscribers: cfe-commits, xazax.hun.
Herald added a project: clang.
Adds an option called `AddConstQualifier` to readability-qualified-auto to toggle adding const to the auto typed pointers and references. By default its enabled but in the LLVM module its disabled.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D73548
Files:
clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
clang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.cpp
clang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.h
clang-tools-extra/docs/ReleaseNotes.rst
clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst
clang-tools-extra/test/clang-tidy/checkers/llvm-qualified-auto.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73548.240859.patch
Type: text/x-patch
Size: 8010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200128/d4271421/attachment-0001.bin>
More information about the cfe-commits
mailing list