[ptr-traits] Sink a constructor definition to the .cpp file and add
authorChandler Carruth <chandlerc@gmail.com>
Tue, 29 Dec 2015 09:24:39 +0000 (09:24 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 29 Dec 2015 09:24:39 +0000 (09:24 +0000)
commitf79435efbed8ec33e851c2154447c3f6c64e3296
treec3d78dd6ac5a82ee89ee2586697438b2eb2b0135
parent39ec439c7959ab33920c54dd674f05e8ac560e6d
[ptr-traits] Sink a constructor definition to the .cpp file and add
missing includes so that the pointee types for DenseMap pointer keys and
such are complete prior to us querying the pointer traits for them.

This is part of a series of patches to allow LLVM to check for complete
pointee types when computing its pointer traits. This is absolutely
necessary to get correct (or reproducible) results for things like how
many low bits are guaranteed to be zero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256550 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/WinEHFuncInfo.h
lib/CodeGen/WinEHPrepare.cpp