On Mon, Jun 2, 2014 at 11:50 AM, Hans Wennborg <[email protected]> wrote:

> Author: hans
> Date: Mon Jun  2 13:50:54 2014
> New Revision: 210039
>
> URL: http://llvm.org/viewvc/llvm-project?rev=210039&view=rev
> Log:
> Fix comment vs function name mismatch
>
> Modified:
>     cfe/trunk/lib/CodeGen/CGVTables.h
>
> Modified: cfe/trunk/lib/CodeGen/CGVTables.h
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGVTables.h?rev=210039&r1=210038&r2=210039&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGVTables.h (original)
> +++ cfe/trunk/lib/CodeGen/CGVTables.h Mon Jun  2 13:50:54 2014
> @@ -99,7 +99,7 @@ public:
>                               VTableAddressPointsMapTy& AddressPoints);
>
>
> -  /// GetAddrOfVTable - Get the address of the VTT for the given record
> decl.
> +  /// GetAddrOfVTT - Get the address of the VTT for the given record decl.
>

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.)


>    llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD);
>
>    /// EmitVTTDefinition - Emit the definition of the given vtable.
>
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to