[clang-tidy] Fix behavior of `modernize-use-using` with nested structs/unions
authorFabian Wolff <fabian.wolff@alumni.ethz.ch>
Thu, 21 Apr 2022 13:18:31 +0000 (15:18 +0200)
committerFabian Wolff <fabian.wolff@alumni.ethz.ch>
Thu, 21 Apr 2022 13:18:31 +0000 (15:18 +0200)
commit95d77383f2ba8d3136856b52520d3f73f9bc89e7
tree7c0f992e2c7c0b23b289794ea0cc983cdfe4fb6b
parent96e7487013776c26f0a5203b2e4b104b61efcedf
[clang-tidy] Fix behavior of `modernize-use-using` with nested structs/unions

Fixes https://github.com/llvm/llvm-project/issues/50334.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D113804
clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp
clang-tools-extra/clang-tidy/modernize/UseUsingCheck.h
clang-tools-extra/test/clang-tidy/checkers/modernize-use-using.cpp