Originally reported on Google Code with ID 90
What is the expected output? What do you see instead?
I run include-what-you-use on a large source file containing Google Test test cases.
On this particular file, there is a class extending 'testing::Test', which has protected
members of type 'ifstream'. As a result, an include is needed: '#include <fstream>'
However, IWYU suggests removing the '<fstream>' include, and I can't find out why.
I've created a smaller test case.
What version of the product are you using? On what operating system?
I'm afraid I'm using an older IWYU version (revision 352), since I had issues compiling
the newer version.
I'm running Ubuntu Linux 64-bit.
Please provide any additional information below.
</fstream></fstream>
Reported by mathias.demare on 2013-01-04 16:03:30
- Attachment: foo.cpp
该提问来源于开源项目:include-what-you-use/include-what-you-use