llvm-project/clang/Driver
Steve Naroff dde78986fb Fairly major surgery to RewriteTest::SynthesizeObjcInternalStruct().
This allows us to handle funky stuff like...

#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
@interface NSLayoutManager : NSObject <NSCoding, NSGlyphStorage> {
#else /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 */
@interface NSLayoutManager : NSObject <NSCoding> {
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 */

...which now rewrites to...

#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3
#ifndef _REWRITER_typedef_NSLayoutManager
#define _REWRITER_typedef_NSLayoutManager
typedef struct objc_object NSLayoutManager;
#endif

struct NSLayoutManager {
    struct NSObject _NSObject;

#else /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 */
// @interface NSLayoutManager : NSObject <NSCoding> {
#endif /* MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_3 */

llvm-svn: 44129
2007-11-14 19:25:57 +00:00
..
ASTConsumers.cpp Fix regression with ObjC method definitions and -ast-print 2007-11-13 23:48:03 +00:00
ASTConsumers.h Started work on clang object serialization. Experimental 2007-10-16 23:37:27 +00:00
DiagChecker.cpp Fix ownership model of ParseAST to allow the dtor of 2007-11-03 06:24:16 +00:00
Makefile Take 2. 2007-10-31 20:01:01 +00:00
PPCBuiltins.def Add support for target-specific builtins, including detecting nonportability 2007-01-29 05:24:35 +00:00
PrintParserCallbacks.cpp Implement ObjC built-in types in MinimalAction. 2007-10-31 20:55:39 +00:00
PrintPreprocessedOutput.cpp fix a bunch of regressions I introduced :( 2007-10-10 23:31:03 +00:00
RewriteTest.cpp Fairly major surgery to RewriteTest::SynthesizeObjcInternalStruct(). 2007-11-14 19:25:57 +00:00
SerializationTest.cpp SourceManager, IdentifierTable, Selectors are now serialized in their own 2007-11-14 17:46:35 +00:00
Targets.cpp fix problems with test/sema/Cocoa.m etc on non-apple machines. 2007-10-17 06:04:46 +00:00
TextDiagnosticBuffer.cpp Submitted by: Bill Wendling 2007-06-27 03:19:45 +00:00
TextDiagnosticBuffer.h Clients should only get read-only access to diagnostic info. 2007-06-28 05:18:35 +00:00
TextDiagnosticPrinter.cpp Move token length calculation out of the diagnostics machinery into 2007-10-17 21:18:47 +00:00
TextDiagnosticPrinter.h Move token length calculation out of the diagnostics machinery into 2007-10-17 21:18:47 +00:00
TextDiagnostics.cpp Reimplement SourceLocation. Instead of having a 2007-07-20 16:37:10 +00:00
TextDiagnostics.h wean the diagnostics machinery off the preprocessor. 2007-10-17 20:53:57 +00:00
X86Builtins.def Bug #: 2007-03-16 00:33:25 +00:00
clang.cpp Added -Wfloat-equal option to the driver. This makes warnings about 2007-11-13 18:37:02 +00:00
clang.h Implement ObjC built-in types in MinimalAction. 2007-10-31 20:55:39 +00:00