I checked this patch on my own build on RHEL 6. Regressions were OK.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
ELF/Target.cpp | ||
---|---|---|
35 | I am not sure how to properly manage this include list if we are going the Include What You Use way. How do we make sure we are not including unnecessary headers? |
ELF/Target.cpp | ||
---|---|---|
35 | Sure, Include What You Use may have false positives and it is not supporting libc++ well. But I manually checked that all added headers are used explicitly. See D26320 as example where manual headers maintenance was less then adequate. Please try Include What You Use. It prints used declarations in comments after each include directive. |
I am not sure how to properly manage this include list if we are going the Include What You Use way. How do we make sure we are not including unnecessary headers?