[all-commits] [llvm/llvm-project] 04ca1b: [clang-tidy]fix misc-unused-using-decls false posi...
Congcong Cai via All-commits
all-commits at lists.llvm.org
Wed Oct 25 18:24:30 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 04ca1b6bd938646874b6518067f03515d88c3b5b
https://github.com/llvm/llvm-project/commit/04ca1b6bd938646874b6518067f03515d88c3b5b
Author: Congcong Cai <congcongcai0907 at 163.com>
Date: 2023-10-26 (Thu, 26 Oct 2023)
Changed paths:
M clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/misc/unused-using-decls.cpp
Log Message:
-----------
[clang-tidy]fix misc-unused-using-decls false positive false for using in elaborated type (#70230)
`ElaboratedType` including tag keywords and any nested-name-specifiers.
We should ignore nested-name-specifiers case but consider tag keywords
case for `misc-unused-using-decls` check
Fixes: #69714
More information about the All-commits
mailing list