owenca wrote: > The question is: why? And why handle c++ different than all other languages?
This is the preparation for fixing/extending `FormatToken::isSimpleTypeSpecifier()`, which I'll add a couple of parameters to, e.g. `isSimpleTypeSpecifier(bool IsCpp, const LangOptions &LangOpts)`. Also, this NFC patch would improve performance (even if unnoticeable) because `Style.isCpp()` is called repeatedly at so many places. https://github.com/llvm/llvm-project/pull/83533 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits