[cfe-commits] r63779 - in /cfe/trunk: lib/Sema/SemaExpr.cpp lib/Sema/SemaOverload.cpp test/SemaCXX/member-pointer.cpp www/cxx_status.html

Douglas Gregor dgregor at apple.com
Wed Feb 4 14:51:28 PST 2009


On Feb 4, 2009, at 1:23 PM, Sebastian Redl wrote:
> Author: cornedbee
> Date: Wed Feb  4 15:23:32 2009
> New Revision: 63779
>
> URL: http://llvm.org/viewvc/llvm-project?rev=63779&view=rev
> Log:
> Implement taking address of member functions, including overloaded  
> ones.

Thanks! One trivial comment below.

> @@ -3454,10 +3470,16 @@
>     // C++ [over.over]p3:
>     //   Non-member functions and static member functions match
>     //   targets of type “pointer-to-function”or
> -    //   “reference-to-function.”
> -    if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(*Fun))
> -      if (!Method->isStatic())
> +    //   “reference-to-function.” Nonstatic member functions  
> match targets of

Some mangled ASCII here.

> Modified: cfe/trunk/www/cxx_status.html
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/www/cxx_status.html?rev=63779&r1=63778&r2=63779&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- cfe/trunk/www/cxx_status.html (original)
> +++ cfe/trunk/www/cxx_status.html Wed Feb  4 15:23:32 2009
> @@ -619,10 +619,10 @@
> <tr>
>   <td>      5.3.1p2-5 Unary &</td>
>   <td class="complete" align="center">&#x2713;</td>
> -  <td class="basic" align="center"></td>
> -  <td class="basic" align="center"></td>
> +  <td class="complete" align="center">&#x2713;</td>
> +  <td class="complete" align="center">&#x2713;</td>
> +  <td></td>
>   <td></td>
> -  <td>Member pointers not supported in any way</td>
> </tr>
> <tr>
>   <td>      5.3.1p6 Unary +</td>

Thanks for updating this.

	- Doug




More information about the cfe-commits mailing list