This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch aoliva/libcp1 in repository gcc.
commit 124523db34abaab48a4a9c739fd531cc819bb745 Author: Alexandre Oliva aoliva@redhat.com Date: Fri Jul 3 13:32:24 2015 -0300
Add FIXME for cv-qualified function typedefs. --- include/gcc-cp-fe.def | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/include/gcc-cp-fe.def b/include/gcc-cp-fe.def index 56dc079..0dc3867 100644 --- a/include/gcc-cp-fe.def +++ b/include/gcc-cp-fe.def @@ -167,7 +167,12 @@ GCC_METHOD1 (int /* bool */, finish_enum_type, /* Create a new function type. RETURN_TYPE is the type returned by the function, and ARGUMENT_TYPES is a vector, of length NARGS, of the argument types. IS_VARARGS is true if the function is - varargs. */ + varargs. + + FIXME: C++ allows such stuff as "typedef int f() const;" to create + a cv-qualified (member) function type not associated with any + specific class, which can then be used to declare member functions + and pointers to member functions. Our API doesn't support this. */
GCC_METHOD3 (gcc_type, build_function_type, gcc_type, /* Argument RETURN_TYPE. */