[all-commits] [llvm/llvm-project] 3397da: [clang-tidy] Add performance-enum-size check
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Tue Jul 25 10:50:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3397dae69e09d33301a7620171cabc301d1f3abb
https://github.com/llvm/llvm-project/commit/3397dae69e09d33301a7620171cabc301d1f3abb
Author: Piotr Zegar <piotr.zegar at nokia.com>
Date: 2023-07-25 (Tue, 25 Jul 2023)
Changed paths:
M clang-tools-extra/clang-tidy/performance/CMakeLists.txt
A clang-tools-extra/clang-tidy/performance/EnumSizeCheck.cpp
A clang-tools-extra/clang-tidy/performance/EnumSizeCheck.h
M clang-tools-extra/clang-tidy/performance/PerformanceTidyModule.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/docs/clang-tidy/checks/list.rst
A clang-tools-extra/docs/clang-tidy/checks/performance/enum-size.rst
A clang-tools-extra/test/clang-tidy/checkers/performance/enum-size.cpp
Log Message:
-----------
[clang-tidy] Add performance-enum-size check
Finds enum type definitions that could use smaller integral type as a base.
Reviewed By: xgupta
Differential Revision: https://reviews.llvm.org/D144135
More information about the All-commits
mailing list