| commit | e40853aabdaad151099b7061585e2782dcba02fb | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sun Oct 25 22:09:09 2009 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sun Oct 25 22:09:09 2009 +0000 |
| tree | 120b8a9855b0661d1514076b845c6e5c63cc134f | |
| parent | de126cfa835e17c5ee9defac0dd26242b22115ee [diff] |
move calls to DiagnoseUseOfDecl (which warns about deprecated/unavailable types) out of Sema::getTypeName into ConvertDeclSpecToType. getTypeName is sometimes used as a predicate in the parser, so it could cause redundant diags to be emitted. This is also needed by two upcoming enhancements. llvm-svn: 85070