commit | a64ef0ab5cb6ac9cfb7d40661a9152c4aa488386 | [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 | be3aef3e54bad6b57d314ac336a4188b89845d58 | |
parent | e37b3e6d7ed495fdec4067ccc1117a79d2afd450 [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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85070 91177308-0d34-0410-b5e6-96231b3b80d8