[PATCH] D50078: clang-format: support aligned nested conditionals formatting
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 19 12:37:09 PDT 2020
MyDeveloperDay added a comment.
https://bugs.llvm.org/show_bug.cgi?id=33896 shows an interesting use case (when using UseTab: Always)
std::string CLogView::GetItemText(int item) const {
return item == 1 ? "one" :
item == 2 ? "two" :
item == 3 ? "three" :
item == 4 ? "four" :
"high";
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D50078/new/
https://reviews.llvm.org/D50078
More information about the cfe-commits
mailing list