-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass swift defines into xcode build setting so indexing works on both…
… swift and objc side (#96) * Pass all defines isnide SwiftInfo to active_compilation_context flag * properly populate value definition to swift side * Added test case to verify the changes * Add debug as default for debug config * Have DEBUG macro for debug config for objective-c side as well
- Loading branch information
Showing
9 changed files
with
143 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
#import "NonArcObject.h" | ||
|
||
@implementation NonArcObject | ||
#if REQUIRED_DEFINED_FLAG | ||
@end | ||
#endif | ||
|
||
#if FLAG_WITH_VALUE_ZERO | ||
Note: Should not produce build error or index error (on xcode) here because | ||
$FLAG_WITH_VALUE_ZERO should set to to zero | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.