[all-commits] [llvm/llvm-project] 90bbe9: [clang-tidy] Readability-container-data-pointer ad...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sun Jun 11 23:07:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 90bbe97036a156156759f1555d760890321d50fc
https://github.com/llvm/llvm-project/commit/90bbe97036a156156759f1555d760890321d50fc
Author: Felix <felix-antoine.constantin at polymtl.ca>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M clang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.cpp
M clang-tools-extra/clang-tidy/readability/ContainerDataPointerCheck.h
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/readability/container-data-pointer.rst
M clang-tools-extra/test/clang-tidy/checkers/readability/container-data-pointer.cpp
Log Message:
-----------
[clang-tidy] Readability-container-data-pointer adds new option to ignore Containers
Adds a new option to the clang-tidy's check : readability-container-data-pointer to ignore some containers.
This option is useful in the case of std::array where the size is known at compile time and there is no real risk to access the first index of the container. In that case some users might prefer to ignore this type of container.
Relates to : https://github.com/llvm/llvm-project/issues/57445
Reviewed By: PiotrZSL
Differential Revision: https://reviews.llvm.org/D133244
Commit: 4099053646a051533a9b1016da665fc9854b18cb
https://github.com/llvm/llvm-project/commit/4099053646a051533a9b1016da665fc9854b18cb
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M clang-tools-extra/docs/ReleaseNotes.rst
Log Message:
-----------
[clang-tidy][NFC] Sort changes by check name in ReleaseNotes
Sort changes listed in ClangTidy release notes by
a check name.
Compare: https://github.com/llvm/llvm-project/compare/f1a48b5349f7...4099053646a0
More information about the All-commits
mailing list