psigillito marked an inline comment as done. psigillito added inline comments.
================ Comment at: clang/lib/Format/FormatToken.h:125 +/// Operators that can follow a C variable. +static const std::set<clang::tok::TokenKind> C_OperatorsFollowingVar = { + tok::l_square, tok::r_square, ---------------- curdeius wrote: > HazardyKnusperkeks wrote: > > And maybe choose a different container: > > https://llvm.org/docs/ProgrammersManual.html#set-like-containers-std-set-smallset-setvector-etc > Not done it seems. > Please rename and use a different type. Maybe `ImmutableSet`? Or just a > sorted `std::vector`? ok updated to sorted std::vector ================ Comment at: clang/lib/Format/UnwrappedLineFormatter.cpp:104 + + auto isAccessModifier = [this, &RootToken]() { + bool returnValue{false}; ---------------- HazardyKnusperkeks wrote: > In clang-format all lambdas I've seen start with a capital letter. Updated. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D117416/new/ https://reviews.llvm.org/D117416 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits