[all-commits] [llvm/llvm-project] 7b3db8: [include-cleaner] Respect the UsingShadowDecl when...
Haojian Wu via All-commits
all-commits at lists.llvm.org
Fri Sep 22 05:35:13 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7b3db8079d0a736c07db30388cdedf608f4ed58f
https://github.com/llvm/llvm-project/commit/7b3db8079d0a736c07db30388cdedf608f4ed58f
Author: Haojian Wu <hokein.wu at gmail.com>
Date: 2023-09-22 (Fri, 22 Sep 2023)
Changed paths:
M clang-tools-extra/include-cleaner/lib/FindHeaders.cpp
M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
Log Message:
-----------
[include-cleaner] Respect the UsingShadowDecl when find headers for ambiguous std symbols. (#66485)
In libcpp, the `std::remove(const char*)` is a using decl in std
namespace `using ::remove`, which was not handled correctly in
`headerForAmbiguousStdSymbol`
More information about the All-commits
mailing list