This is the mail archive of the
mailing list for the GCC project.
Re: Style of libstdc++ header files
On Sep 14, 2004, at 3:11 PM, Wolfgang Bangerth wrote:
I would oppose to that as atleast short always-to-be-inlined methods
way easier to read/find if they are defined inline.
In reality, I hardly ever have to _find_ a particular method. I want to
_delete_ whole blocks of code, whatever is in them. What is important
number of semantic connections of other parts of a code into the block
to delete. For member function definitions, there are no such
because the declarations are still there.
I'd rather spent
the converting time creating a more C++-syntax aware
testcase-reduction tool (like f.i. as you are suggesting, removing
method definitions but retaining/creating declarations).
Well, fact is: there is no such tool. People have tried to play around
Delta, but it turns out that the fastest and most efficient method is
brute human force. Nobody seems to know how to write a tool like you
It depends on if you are trying to minimize a testcase for C++ FE bugs,
or an optimization bug.
For the case of C++ FE bugs, yer right, you will need to integrate it
with some C++ syntax aware minimizer.
For the case of optimization bugs, you are looking at the problem the
See LLVM's bugpoint for a tool that does this right.