Details
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 27523 Build 27522: arc lint + arc unit
Event Timeline
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
4263 | Wasn't sure what to do here. isMustTailCall is inlined in CallSite, but it can't be inlined in CallBase. |
Minor nits. I've been using Call instead of CB because when there is a nice word instead of initialism, I prefer it for readability. But that's up to you really.
lib/Transforms/InstCombine/InstCombineCalls.cpp | ||
---|---|---|
3984 | A const CallSite isn't actually the same as a const CallBase & -- that would be an ImmutableCallSite. Still, if the const works here, great. | |
4263 | You can just define it out-of-line. I don't think these *need* to be inlined, and in Instructions.cpp we have all the types available. | |
4530 | Can use clang-format here. Also good candidate for auto *NestF. |
A const CallSite isn't actually the same as a const CallBase & -- that would be an ImmutableCallSite.
Still, if the const works here, great.