Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
The structure of this patch looks sensible. Some comments.
lib/Transforms/Scalar/ConstantHoisting.cpp | ||
---|---|---|
180 ↗ | (On Diff #62566) | hmm, is this clang-formatt'ed? |
196 ↗ | (On Diff #62566) | Nice that you got rid of this weird setup() function. |
290 ↗ | (On Diff #62566) | same (re clang-format), I could be wrong tho |
500 ↗ | (On Diff #62566) | I prefer the idiom |
534 ↗ | (On Diff #62566) | else after return |
Comment Actions
Thanks, Sean and Davide!
lib/Transforms/Scalar/ConstantHoisting.cpp | ||
---|---|---|
180 ↗ | (On Diff #62566) | Yes, it is. Looks like the usual format goes out of the 80-char bounds, and I guess this is the fallback. |
290 ↗ | (On Diff #62566) | This one is a bit weirder, since the usual formatting fits (exactly), but this is what clang-format outputs. Possibly a clang-format bug... |
500 ↗ | (On Diff #62566) | I don't really care either way, and we have both in the codebase. Since you felt strongly enough about it to comment, I don't mind changing. :-) |
534 ↗ | (On Diff #62566) | Right, thanks! |