curdeius accepted this revision. curdeius added a subscriber: krasimir. curdeius added a comment. This revision is now accepted and ready to land.
Great! @krasimir, FYI, that should fix the issue you reported. ================ Comment at: clang/lib/Format/FormatToken.h:379 + void setFinalizedType(TokenType T) { + Type = T; + TypeIsFinalized = true; ---------------- Maybe we should assert here and in `setType` that: `assert(!TypeIsFinalized);`? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D120511/new/ https://reviews.llvm.org/D120511 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits