Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, with one nit.
clang/lib/Frontend/CompilerInvocation.cpp | ||
---|---|---|
333–337 | The comparison to .front is a bit subtle. I think this might be more direct / easy to read using drop_begin: CommaJoinedValue.append(Values.front()); for (const std::string &Value : llvm::drop_begin(Values, 1)) { CommaJoinedValue.append(","); CommaJoinedValue.append(Value); } |
The comparison to .front is a bit subtle. I think this might be more direct / easy to read using drop_begin: