<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Dec 21, 2016 at 8:36 AM, Aaron Ballman <span dir="ltr"><<a href="mailto:aaron.ballman@gmail.com" target="_blank">aaron.ballman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">That change appears to have been lost, and I would like to see them<br>
brought back. I think they may have gotten lost during the rebase, as<br>
they were present in <a href="https://reviews.llvm.org/D26846?id=78569" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D26846?id=78569</a>.<br></blockquote><div><br></div><div>I removed the tablegen logic because it was dead after changing the uuid SubjectList to this:</div><div>  let Subjects = SubjectList<[Record, Enum], WarnDiag, "ExpectedEnumOrClass">;</div><div><br></div><div>It was necessary to go from CXXRecord to Record here so that we would accept __uuid on structs in C and then reject the attribute as being C++-only later.</div><div><br></div><div>Feel free to add the case back. From my reading of the code, it seems like CalculateDiagnostic isn't intended to cover every case.</div></div></div></div>