Closed agnat closed 9 years ago
Fixed.
PseudoSubtargetFeature
always did feel like a hack, FeatureSet
is much better!
You've refactored #include
s so that the general LLVM files are listed first, and the AVR-specific headers are next, separated by an empty line. I like this. We should write up a coding guidelines page on the Wiki and include this.
Rollup and I'll merge.
Also, what is your opinion on #pragma once
? I'd rather use this than #include
guards, but it seems the rest of LLVM does not, which makes me hesitate.
Once the backend is mostly bug free, I'd like to attempt to get it included in LLVM master, so we may end up having to change it somewhere down the line?
The LLVM coding standards document doesn't mention them.
Also, what is your opinion on #pragma once?
I use include guards. They work just fine. They are standard ... no need to change that habit.
[...] I'd like to attempt to get it included in LLVM master
Attempt? What do you mean "attempt"? We will go there and land it.
We will also explain why we break the include style and why our ordering is clearly superior. Other than that it will conform to the standard of course.
Rollup and I'll merge.
Done.
Improve readability...