diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-25 22:09:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-25 22:09:09 +0000 |
commit | e40853aabdaad151099b7061585e2782dcba02fb (patch) | |
tree | 120b8a9855b0661d1514076b845c6e5c63cc134f /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | de126cfa835e17c5ee9defac0dd26242b22115ee (diff) | |
download | bcm5719-llvm-e40853aabdaad151099b7061585e2782dcba02fb.tar.gz bcm5719-llvm-e40853aabdaad151099b7061585e2782dcba02fb.zip |
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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions