Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang] Require including config.h for CLANG_DEFAULT_STD_C
This makes CLANG_DEFAULT_STD_C(XX) always be defined, defaulting to lang_unspecified, so you are forced to check its value instead of using an #ifdef. This should help avoid accidentally omitting the include in places where that's important, so that the default language version bug isn't re-introduced. Reviewed By: hokein, dexonsmith Differential Revision: https://reviews.llvm.org/D124974
- Loading branch information
1 parent
2e27094
commit ae8bbc4
Showing
2 changed files
with
21 additions
and
12 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