[all-commits] [llvm/llvm-project] 8a68c4: [clang-tidy] Added option for disabling const qual...

Nathan James via All-commits all-commits at lists.llvm.org
Sun Feb 2 13:27:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a68c40a1bf256523993ee97b39f79001eaade91
      https://github.com/llvm/llvm-project/commit/8a68c40a1bf256523993ee97b39f79001eaade91
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-02-02 (Sun, 02 Feb 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp
    M clang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.cpp
    M clang-tools-extra/clang-tidy/readability/QualifiedAutoCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/readability-qualified-auto.rst
    A clang-tools-extra/test/clang-tidy/checkers/llvm-qualified-auto.cpp

  Log Message:
  -----------
  [clang-tidy] Added option for disabling const qualifiers in readability-qualified-auto

Summary: Adds an option called `AddConstToQualified` 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.

Reviewers: aaron.ballman, alexfh, JonasToth, hokein, sammccall

Reviewed By: aaron.ballman

Subscribers: Quuxplusone, merge_guards_bot, lebedev.ri, xazax.hun, cfe-commits

Tags: #clang, #clang-tools-extra

Differential Revision: https://reviews.llvm.org/D73548




More information about the All-commits mailing list