diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2013-09-27 20:20:17 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2013-09-27 20:20:17 +0000 |
commit | 09445c48362dd4906dd4ad28428d84e50c309cd9 (patch) | |
tree | beb455d349ab24f16085dac30b4d89b1486fd7b1 /llvm/lib/Support/SourceMgr.cpp | |
parent | dca0c7a5fbeafe27bcfc31703e00bf99c19533ea (diff) | |
download | llvm-09445c48362dd4906dd4ad28428d84e50c309cd9.zip llvm-09445c48362dd4906dd4ad28428d84e50c309cd9.tar.gz llvm-09445c48362dd4906dd4ad28428d84e50c309cd9.tar.bz2 |
Implement N3760, support for the [[deprecated]] attribute.
This motion appears to have consensus in the C++ committee and is
expected to be voted into the C++14 draft tomorrow during the formal
vote.
No extension warning in C++11 as attributes not specified in the
standard using the standard syntax in C++11 have implementation defined
meaning, and we define the meaning proposed for C++14.
There is one bug exposed as we do not warn on a deprecated template
specialization. I've left a FIXME in the test case and will dig into
that next.
Also, I will add a few more exhaustive test cases of the other features
specified for this attribute in a follow-up commit.
llvm-svn: 191550
Diffstat (limited to 'llvm/lib/Support/SourceMgr.cpp')
0 files changed, 0 insertions, 0 deletions