HazardyKnusperkeks accepted this revision. HazardyKnusperkeks added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang/lib/Format/TokenAnnotator.cpp:1338-1342 + if (!Contexts.back().IsExpression && Line.MustBeDeclaration && + !(Tok->Next && + Tok->Next->isOneOf(tok::identifier, tok::string_literal) && + Tok->Next->Next && + Tok->Next->Next->isOneOf(tok::colon, tok::question))) { ---------------- Even if there are more negations, I can read this better. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148473/new/ https://reviews.llvm.org/D148473 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits