diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-15 22:43:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-15 22:43:40 +0000 |
commit | 76a642ff4fce7a0648c79a1f01324a8c3880e251 (patch) | |
tree | 49205207a366e1972e9e3a77f39d3f2fbe376e12 /lib/AST/DeclBase.cpp | |
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
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions