[cfe-commits] r47103 - in /cfe/trunk: Parse/Parser.cpp include/clang/Basic/DiagnosticKinds.def test/Sema/declspec.c

Chris Lattner clattner at apple.com
Fri Feb 15 11:44:07 PST 2008


On Feb 13, 2008, at 6:58 PM, Steve Naroff wrote:
> Author: snaroff
> Date: Wed Feb 13 20:58:32 2008
> New Revision: 47103
> URL: http://llvm.org/viewvc/llvm-project?rev=47103&view=rev
> Log:
>
> A much better fix for http://llvm.org/bugs/show_bug.cgi?id=1987.

Hi Steve,

Sorry to hassle you, but it would be nice to handle this somewhere  
else.  That code is some really nasty parsing logic and mixing sema  
into it seems suboptimal.  Would it be possible to do this in  
ParseFunctionDefinition by having ParseFunctionDefinition handle the  
'typedef' declspec?

-Chris




More information about the cfe-commits mailing list