[all-commits] [llvm/llvm-project] 35f466: [clang-tidy] Fix typedefs handling in bugprone-dan...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Sat Apr 15 03:32:15 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 35f466eb14b7e57e8bd33a8eb98e89fe3a4cd839
https://github.com/llvm/llvm-project/commit/35f466eb14b7e57e8bd33a8eb98e89fe3a4cd839
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2023-04-15 (Sat, 15 Apr 2023)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/DanglingHandleCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/bugprone/dangling-handle.cpp
Log Message:
-----------
[clang-tidy] Fix typedefs handling in bugprone-dangling-handle
Using 'hasUnqualifiedDesugaredType' to skip all type aliases when
checking for handle.
Fixes #38779
Reviewed By: carlosgalvezp
Differential Revision: https://reviews.llvm.org/D148418
More information about the All-commits
mailing list