[cfe-commits] r41303 - in /cfe/trunk: Parse/ParseDecl.cpp Parse/ParseObjc.cpp include/clang/Parse/Parser.h

So, I thought, "yay!". Unfortunately,

clang -arch ppc -fsyntax-only
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h
2>&1 | tail -n 1
28541 diagnostics generated.

"Successfully parse"? Known regression? I'm just weird?

-Keith

Author: snaroff
Date: Wed Aug 22 18:18:22 2007
New Revision: 41303

URL: http://llvm.org/viewvc/llvm-project?rev=41303&view=rev
Log:

With this commit, we now successfully parse "Cocoa.h"!

So, I thought, "yay!". Unfortunately,

clang -arch ppc -fsyntax-only
/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h
2>&1 | tail -n 1
28541 diagnostics generated.

"Successfully parse"?

It does. You simply need to pass -parse-noop, which runs the MinimalAction analyzer (not Sema). I will be working on Sema support this week.

Known regression?

Not a regression, simply under construction. One of the beauties of our design is we have a clear separation of syntax from semantics. From a development standpoint, this allows much more incremental development.

I'm just weird?

How about curious:-?

snaroff