commit | 76a642ff4fce7a0648c79a1f01324a8c3880e251 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Feb 15 22:43:40 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Feb 15 22:43:40 2009 +0000 |
tree | 49205207a366e1972e9e3a77f39d3f2fbe376e12 | |
parent | b6d74a158a9c002e3c0fcbda8ad8d0ccbb2e5088 [diff] |
Refactor the deprecated and unavailable checks into a new DiagnoseUseOfDeprecatedDecl method. This ensures that they are treated consistently. This gets us 'unavailable' support on a few new types of decls, and makes sure we consistently silence deprecated when the caller is also deprecated. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64612 91177308-0d34-0410-b5e6-96231b3b80d8