Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add llvm_config_{begin|end}.h #2803

Merged

Conversation

winksaville
Copy link
Contributor

Consolidate the special handling of including llvm headers into
llvm_config_begin.h and llvm_config.end.

Fix issue #2802

Consolidate the special handling of including llvm headers into
llvm_config_begin.h and llvm_config.end.

Fix issue ponylang#2802
@winksaville
Copy link
Contributor Author

@kulibali, could you opine on this change. It has to do with disabling warnings when compiling code that includes LLVM headers and when using MSC. I think this streamlines the code things, putting the disabling of the warnings in one place and fixes #2802. In a future PR I'd like to add some additional code to llvm_config_begin.h that fixes #2776.

Anyway, a review would be appreciated and rejecting this is perfectly fine. But I believe having the same set of disable warnings for each of the LLVM inclusions made sense and bounding the inclusion with two simple include statments looked cleaner to my eyes. Of course YMMV.

@winksaville
Copy link
Contributor Author

@kulibali, Thanks

@SeanTAllen SeanTAllen merged commit 6227226 into ponylang:master Jun 26, 2018
@winksaville
Copy link
Contributor Author

Txs

@winksaville winksaville deleted the cleanup-handling-of-msvc-llvm-warnings branch July 12, 2018 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants