Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
clang/lib/Format/FormatTokenLexer.cpp | ||
---|---|---|
433–434 | To go a bit further, could we move First[1]->isNot(tok::less) || First[0]->isNot(tok::less) into its own if around the top of the function? if (Tokens.size() < 3) return false; auto First = Tokens.end() - 3; if (First[0]->isNot(tok::less) || First[1]->isNot(tok::less)) return false; ? |
clang/lib/Format/FormatTokenLexer.cpp | ||
---|---|---|
433–434 | Good idea. |
To go a bit further, could we move First[1]->isNot(tok::less) || First[0]->isNot(tok::less) into its own if around the top of the function?
Sth like:
?