aybassiouny added a comment. Thanks @curdeius for checking this in, apologies for delay on my side. Glad the bug is not there in the new version!
================ Comment at: clang/lib/Format/TokenAnnotator.cpp:3498 + !Tok.isOneOf(TT_ObjCBlockLBrace, TT_DictLiteral) && + !Tok.Previous->Previous->is(tok::kw_namespace)); } ---------------- curdeius wrote: > Please add at least asserts for `Tok.Previous` and `Tok.Previous->Previous`. I almost see no asserts despite similar usage, but sure Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99031/new/ https://reviews.llvm.org/D99031 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits