<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">Thank you for response. </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">I already sent another patch, it could be found here: </div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;">http://article.gmane.org/gmane.comp.compilers.clang.scm/114023</div><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <div id="bloop_sign_1420568589090018048" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">-- <br>AlexDenisov</div><div style="font-family:helvetica,arial;font-size:13px">Software Engineer, <a href="https://github.com/AlexDenisov">https://github.com/AlexDenisov</a></div></div> <br><p style="color:#000;">On 5 Jan 2015 at 19:39:16, jahanian (<a href="mailto:fjahanian@apple.com">fjahanian@apple.com</a>) wrote:</p> <blockquote type="cite" class="clean_bq"><span><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div></div><div>
<title></title>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 24, 2014, at 3:29 AM, AlexDenisov <<a href="mailto:1101.debian@gmail.com" class="">1101.debian@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div id="bloop_customfont" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class="">
<div class="">
<blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Do the usual lookup to find the method which
implements this syntax. Call <span style="font-family: Menlo; font-size: 11px; color: rgb(79, 129, 135);" class="">Decl</span><span style="font-family: Menlo; font-size: 11px;" class="">::getAvailability
on this method. If it returns</span></div>
<div class=""><span style="font-family: Menlo; font-size: 11px;" class="">anything other than </span><span style="font-family: Menlo; font-size: 11px;" class="">AvailabilityResult::</span><font face="Menlo" class=""><span style="font-size: 11px;" class="">AR_Available </span></font></div>
</div>
</blockquote>
</div>
<p class="">Well, I understand this part, it’s pretty obvious. But
what I don’t understand is:</p>
<div class="">
<div class="">
<blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">issue an appropriate diagnostic.</span></font></div>
</blockquote>
</div>
<p class="">What is appropriate diagnostic for <span style="color: rgb(49, 89, 93); font-family: Menlo; font-size: 11px;" class="">AR_NotYetIntroduced?</span></p>
<div class="">Should I introduce this diagnostic? Or just show
warning/error for Deprecated/Unavailable and ignore
NotYetIntroduced AR?</div>
</div>
</div>
</div>
</blockquote>
<div><br class=""></div>
It is sufficient to issue an unavailability diagnostics since
diagnostic points to the method which has the availability info. as
part of its declaration.</div>
<div><br class=""></div>
<div>- Fariborz</div>
<div><br class=""></div>
<br class="">
</div></div></span></blockquote></body></html>