[cfe-dev] Parsing, pretty-printing, and compiling the result should work, right?

Douglas Gregor dgregor at apple.com
Tue Feb 10 14:16:34 PST 2009


On Feb 10, 2009, at 12:02 PM, Roberto Bagnara wrote:

> Chris Lattner wrote:
>>>> 4) find a way to work around the problem.
>>>
>>> We will do that for all the remaining problems.  This is actually a
>>> tough decision for me: if 2749 and 3261 are not fixed in a  
>>> reasonable
>>> time frame we will have to drop clang and I will have wasted the
>>> time of several people.
>>
>> Hopefully they will get fixed then!
>
> Hi there,
>
> thanks to your support we are now able to parse all what we need to  
> parse.
> Now, for the program "parse, pretty-print, compile and compare the  
> results",
> we are dealing with pretty-printing.  We are stuck due to the problem
> explained in
>
>     http://llvm.org/bugs/show_bug.cgi?id=3261
>
> If this is not fixed, we believe a "local" pretty-printer (i.e., one
> that does not have to reconstruct the visible portion of the  
> environment)
> is not possible.  The solution proposed in Comment #2 in the bug  
> report
> would solve all our problems.  What do you think?
>

DeclGroups were meant to solve this problem, if they were carried  
through to other parts of the AST.

	- Doug



More information about the cfe-dev mailing list