commit | 866849498461cf9022316034516475188b25955b | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Apr 13 08:18:42 2011 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Apr 13 08:18:42 2011 +0000 |
tree | 66d33a90295e687d2335880360ef2d3f0217c007 | |
parent | fd183ba0b16718ff05e161bc479678e447df4999 [diff] |
Teach -Wuninitialized about C++'s typeid expression, including both the evaluated and unevaluated contexts. Add some testing of sizeof and typeid. Both of the typeid tests added here were triggering warnings previously. Now the one false positive is suppressed without suppressing the warning on actually buggy code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129431 91177308-0d34-0410-b5e6-96231b3b80d8