summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/warn-reinterpret-base-class.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Provide a fixit to static_cast for reinterpret_casts within a class hierarchy.Jordan Rose2013-03-281-0/+42
| | | | | | | | | The suggestion was already in the text of the note; this just adds the actual fixit and the appropriate test cases. Patch by Alexander Zinenko! llvm-svn: 178274
* Make the -Wreinterpret-base-class logic safe against invalidJohn McCall2013-03-271-0/+47
| | | | | | | declarations at any point. Patch by Alexander Zinenko, and report by Richard Smith. llvm-svn: 178098
* Warn about attempts to reinterpret_cast between two types that areJohn McCall2013-03-221-0/+234
hierarchy-related at a possibly nonzero offset. Patch by Alexander Zinenko! llvm-svn: 177698
OpenPOWER on IntegriCloud