diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-07-14 21:13:57 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-07-14 21:17:48 -0700 |
commit | 888673b6e3bf0182fb5f154eb3231c9ae022acca (patch) | |
tree | 5920eb6c26de7d1f48fd76a4d33c0dd36c163f3f /clang-tools-extra/clang-include-fixer | |
parent | ef0081d608298db65371f9869c1371fcfc74a778 (diff) | |
download | llvm-888673b6e3bf0182fb5f154eb3231c9ae022acca.tar.gz |
Revert "[clang] Implement ElaboratedType sugaring for types written bare"
This reverts commit 7c51f02effdbd0d5e12bfd26f9c3b2ab5687c93f because it
stills breaks the LLDB tests. This was re-landed without addressing the
issue or even agreement on how to address the issue. More details and
discussion in https://reviews.llvm.org/D112374.
Diffstat (limited to 'clang-tools-extra/clang-include-fixer')
-rw-r--r-- | clang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp b/clang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp index e000eae999bd..70d4d7cfdff3 100644 --- a/clang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp +++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.cpp @@ -215,8 +215,7 @@ void FindAllSymbols::registerMatchers(MatchFinder *MatchFinder) { // Uses of most types: just look at what the typeLoc refers to. MatchFinder->addMatcher( typeLoc(isExpansionInMainFile(), - loc(qualType(allOf(unless(elaboratedType()), - hasDeclaration(Types.bind("use")))))), + loc(qualType(hasDeclaration(Types.bind("use"))))), this); // Uses of typedefs: these are often transparent to hasDeclaration, so we need // to handle them explicitly. |