Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][NFC] Adjust tests to not un/define predefined macros
An upcoming patch will be making all defining or undefining of predefined macros to be warning (currently only some give a warning). In preparation for this adjust some tests that would emit a warning: * In thread-specifier.c the undefine is done to avoid a different warning, but we get that warning just because __thread and __private_extern__ are the wrong way around so we can just swap them. * There are a couple of objective-c tests that redefine IBAction to what it's already defined as, so we can just remove the define.
- Loading branch information
1 parent
7a49d50
commit 463fa25
Showing
3 changed files
with
2 additions
and
9 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