<div dir="ltr">The attached patch adds support for deprecation messages in C++1y. This is my first time hacking with clang so a code review would definitely be needed.<div><br></div><div>As an example of what is now supported:</div>

<div><br></div><div><font face="courier new, monospace">[[deprecated("use bar instead")]] void foo();</font></div><div><br></div><div>When this function is used, the following warning is emitted:</div><div><br>
</div>
<div><div><font face="courier new, monospace">warning: 'foo' is deprecated: use bar instead [-Wdeprecated-declarations]</font></div><div><font face="courier new, monospace">  foo();</font></div><div><font face="courier new, monospace">  ^</font></div>

</div><div><br></div><div>Some tests included.</div><div><br></div><div>Known potential issues:</div><div>- Attribute parsing currently doesn't seem to distinguish between C++11 and C++1y attributes.</div><div>- Maybe errors like [[deprecated("foo", "bar")]] would better report "too many arguments" than "expected ')'". Not sure about the best way to go about this.</div>

</div>