Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/lib/Format/ContinuationIndenter.cpp | ||
|---|---|---|
| 40 | Sorry for a late comment. I think that in a parameter list, we should use SmallVectorBase to avoid changing the type if the inplace element count changes. That's not important now though. | |
| clang/lib/Format/ContinuationIndenter.cpp | ||
|---|---|---|
| 40 | Hmm. I can't find an example of SmallVectorBase in llvm-project sources, though. | |
| clang/lib/Format/ContinuationIndenter.cpp | ||
|---|---|---|
| 40 | Typo, it's Impl: https://llvm.org/doxygen/classllvm_1_1SmallVectorImpl.html | |
| clang/lib/Format/ContinuationIndenter.cpp | ||
|---|---|---|
| 40 | Good catch, though ArrayRef is more appropriate in this case. See https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h. Fixed in a7789d6. | |
Sorry for a late comment. I think that in a parameter list, we should use SmallVectorBase to avoid changing the type if the inplace element count changes. That's not important now though.