[include-fixer] Desugar incomplete types.
authorBenjamin Kramer <benny.kra@googlemail.com>
Fri, 16 Dec 2016 16:09:06 +0000 (16:09 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Fri, 16 Dec 2016 16:09:06 +0000 (16:09 +0000)
commitbc805aef33da0f642c2e8cb6b33491a4038155b5
treedbbdb6d3dc2b12a931b5c7a2fdddee13e14c287a
parent85347dde27db69941622f0302cad5bda66d7a208
[include-fixer] Desugar incomplete types.

This will look through typedefs so include-fixer will look up the target
of the typedef instead of the typedef itself (which is already in
scope).

llvm-svn: 289952
clang-tools-extra/include-fixer/IncludeFixer.cpp
clang-tools-extra/unittests/include-fixer/IncludeFixerTest.cpp