Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-patch] Fix for PR36766, 36767, 36769 (STL parsing proble ms)

Title: Message
        Err, missed another one - it seems that ACEFailedTest.java is redundant also. Tests testBug36766and36769x() in DOMTests.java cover all these cases already. Testcase in ACEFailedTest still fails because it contains incorrect operator overloading declaration:
 
template <class A, B> cls<A, C>::operator op &() const {}
 
There is no return type, so parse naturally fails (non-existent "op &" operator name is unimportant for CDT parser). If changed to
 
template <class A, B> cls<A, C>& cls<A, C>::operator& () const {}
 
parse succeeds.
 
        /Vic
 
-----Original Message-----
From: victor.mozgin@xxxxxxxxxxxxx [mailto:victor.mozgin@xxxxxxxxxxxxx]
Sent: Saturday, June 07, 2003 1:10 PM
To: cdt-patch@xxxxxxxxxxx
Subject: [cdt-patch] Fix for PR36766, 36767, 36769 (STL parsing problems)

    Here is the patch that should take care of parsing templated constructor/destructor/operator declarations. By the way, STLFailedTests.java contains only testBug36805() now, and PR36805 is marked as resolved. Maybe STLFailedTests.java can be removed?
 
                                /Vic

Back to the top