================ @@ -2214,6 +2214,21 @@ FormatStyle::GetLanguageStyle(FormatStyle::LanguageKind Language) const { namespace { +void replaceToken(const FormatToken &Token, FormatToken *Next, + const SourceManager &SourceMgr, tooling::Replacements &Result, + const char *Text = "") { ---------------- owenca wrote:
I was going to use `StringRef` but instead settled on `const char *` because of #131299. I can switch to `StringRef` if you still think it's better. https://github.com/llvm/llvm-project/pull/133576 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits