commit | 43fa33b4bedc28d2faa17d678ad1f40eb42817a1 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Fri Apr 29 09:46:08 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Fri Apr 29 09:46:08 2011 +0000 |
tree | 96f09e32e9af7cc852bb8323b7bfac0067482b77 | |
parent | a343a415035aba553a5c21fad8fba6a6db83e0f9 [diff] |
Relax the non-POD memset warning to use the less restrictive C++11 definition of POD. Specifically, this allows certain non-aggregate types due to their data members being private. The representation of C++11 POD testing is pretty gross. Any suggestions for improvements there are welcome. Especially the name 'isCXX11PODType()' seems truly unfortunate. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130492 91177308-0d34-0410-b5e6-96231b3b80d8