forked from OSchip/llvm-project
dde78986fb
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 |
||
---|---|---|
.. | ||
ASTConsumers.cpp | ||
ASTConsumers.h | ||
DiagChecker.cpp | ||
Makefile | ||
PPCBuiltins.def | ||
PrintParserCallbacks.cpp | ||
PrintPreprocessedOutput.cpp | ||
RewriteTest.cpp | ||
SerializationTest.cpp | ||
Targets.cpp | ||
TextDiagnosticBuffer.cpp | ||
TextDiagnosticBuffer.h | ||
TextDiagnosticPrinter.cpp | ||
TextDiagnosticPrinter.h | ||
TextDiagnostics.cpp | ||
TextDiagnostics.h | ||
X86Builtins.def | ||
clang.cpp | ||
clang.h |