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

llvm: Add type to const declarations, update example and other cleanups. #5

Merged
merged 1 commit into from Dec 2, 2012
Merged

Conversation

mewmew
Copy link

@mewmew mewmew commented Nov 26, 2012

  • Add explicit type to constant declarations.
    • Attribute
    • ByteOrdering
    • CallConv
    • FloatPredicate
    • IntPredicate
    • Linkage
    • Opcode
    • TypeKind
    • VerifierFailureAction
    • Visibility
  • Remove makefiles.
  • Change error check order, making it more similar to "if err != nil":
    • from: if fail == 0
    • to: if fail != 0
  • Minor comment adjustments to make the godoc documentation better.

llvm/examples/factorial: Updated import statement.

* Add explicit type to constant declarations.
	- Attribute
	- ByteOrdering
	- CallConv
	- FloatPredicate
	- IntPredicate
	- Linkage
	- Opcode
	- TypeKind
	- VerifierFailureAction
	- Visibility
* Remove makefiles.
* Change error check order, making it more similar to "if err != nil":
	- from: if fail == 0
	- to:   if fail != 0
* Minor comment adjustments to make the godoc documentation better.

llvm/examples/factorial: Updated import statement.
@axw
Copy link
Member

axw commented Nov 27, 2012

Wow, thanks for the cleanup! Looks like you've been pretty thorough, but as a rule I like to check myself that llgo/gollvm work well with patches before accepting them. I probably won't be able to do so until the weekend.

@mewmew
Copy link
Author

mewmew commented Nov 27, 2012

Totally understandable. If you have any questions about the changes or want to discuss some details, feel free :)

I've been following the llgo compiler development for quite some time, and really appreciate your work.

@axw
Copy link
Member

axw commented Dec 2, 2012

Sorry for the delay; looks good, I'm happy to pull this in. Thanks again!

axw added a commit that referenced this pull request Dec 2, 2012
llvm: Add type to const declarations, update example and other cleanups.
@axw axw merged commit 9ff27d3 into go-llvm:master Dec 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants