summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorSteve Naroff <snaroff@apple.com>2007-11-14 19:25:57 +0000
committerSteve Naroff <snaroff@apple.com>2007-11-14 19:25:57 +0000
commitdde78986fbf1022892b1374d8e4fcc6c62563070 (patch)
tree37dbb9448d0f6fe0920ed4c07e42c333f6d9d05b /llvm/docs
parent0cbe920d7cf10181b37fd1bf1ecf7bc9a6826461 (diff)
downloadbcm5719-llvm-dde78986fbf1022892b1374d8e4fcc6c62563070.tar.gz
bcm5719-llvm-dde78986fbf1022892b1374d8e4fcc6c62563070.zip
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
Diffstat (limited to 'llvm/docs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud