Fixing a small style nit described in D131294
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Did you also want to adjust the if (-1 == SetOptionNoDelay()) { line from that patch?
Comment Actions
Ah, I think ChrisB added these -1 == lines in TCPSocket.cpp when he was adding ipv6 support years ago. I was only thinking of the two new ones you added in https://reviews.llvm.org/D131294
Comment Actions
"LLDB’s code style differs from LLVM’s coding style. Unfortunately there is no document describing the differences. Please be consistent with the existing code."
Well I don't remember seeing any Yoda conditions elsewhere so LGTM.
Comment Actions
if we are going to fix the coding conventions we should do it for all of the locations if possible. All of them should be super simple.