<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 2, 2014 at 11:50 AM, Hans Wennborg <span dir="ltr"><<a href="mailto:hans@hanshq.net" target="_blank">hans@hanshq.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: hans<br>
Date: Mon Jun  2 13:50:54 2014<br>
New Revision: 210039<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=210039&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=210039&view=rev</a><br>
Log:<br>
Fix comment vs function name mismatch<br>
<br>
Modified:<br>
    cfe/trunk/lib/CodeGen/CGVTables.h<br>
<br>
Modified: cfe/trunk/lib/CodeGen/CGVTables.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVTables.h?rev=210039&r1=210038&r2=210039&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVTables.h?rev=210039&r1=210038&r2=210039&view=diff</a><br>

==============================================================================<br>
--- cfe/trunk/lib/CodeGen/CGVTables.h (original)<br>
+++ cfe/trunk/lib/CodeGen/CGVTables.h Mon Jun  2 13:50:54 2014<br>
@@ -99,7 +99,7 @@ public:<br>
                              VTableAddressPointsMapTy& AddressPoints);<br>
<br>
<br>
-  /// GetAddrOfVTable - Get the address of the VTT for the given record decl.<br>
+  /// GetAddrOfVTT - Get the address of the VTT for the given record decl.<br></blockquote><div><br></div><div>For future reference, the preferred fix would be to remove the function name entirely. (We usually also add \brief here, but that's redundant here since a single-line doc comment is implicitly \brief.)</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD);<br>
<br>
   /// EmitVTTDefinition - Emit the definition of the given vtable.<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>