Skip to content

Extend preprocessor LLVM version checks to support LLVM 4.x - #36742

Merged
bors merged 1 commit into
rust-lang:masterfrom
shepmaster:llvm-4-preamble
Sep 27, 2016
Merged

Extend preprocessor LLVM version checks to support LLVM 4.x#36742
bors merged 1 commit into
rust-lang:masterfrom
shepmaster:llvm-4-preamble

Conversation

@shepmaster

Copy link
Copy Markdown
Member

This doesn't actually do anything for LLVM 4.x yet, but sets the stage.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @aturon

(rust_highfive has picked a reviewer for you, use r? to override)

@sanxiyn

Copy link
Copy Markdown
Contributor

cc #36295

@alexcrichtonalexcrichton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @shepmaster! Looks great to me.

Comment threadsrc/rustllvm/rustllvm.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this entire clause also be wrapped in parens? (yay C macros)

same below as well

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

Someone should really work on creating a replacement for this C language thing.

Comment threadsrc/rustllvm/rustllvm.h Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps this could be LLVM_VERSION_GE?

Similar to ParialOrd::ge naming at least

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

This doesn't actually do anything for LLVM 4.x yet, but sets the stage.
@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+

@bors

bors commented Sep 26, 2016

Copy link
Copy Markdown
Collaborator

📌 Commit e6e117c has been approved by alexcrichton

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 26, 2016
…richton
Extend preprocessor LLVM version checks to support LLVM 4.x
This doesn't actually do anything for LLVM 4.x yet, but sets the stage.
@sophiajtsophiajt mentioned this pull request Sep 26, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 27, 2016
…richton
Extend preprocessor LLVM version checks to support LLVM 4.x
This doesn't actually do anything for LLVM 4.x yet, but sets the stage.
@sophiajtsophiajt mentioned this pull request Sep 27, 2016
bors added a commit that referenced this pull request Sep 27, 2016
@bors
bors merged commit e6e117c into rust-lang:masterSep 27, 2016
@shepmaster
shepmaster deleted the llvm-4-preamble branch November 18, 2016 16:18
Sign up for freeto 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.

6 participants

@shepmaster@rust-highfive@sanxiyn@alexcrichton@bors@aturon