================
@@ -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 = "") {
----------------
HazardyKnusperkeks wrote:

This is a local function and we use it with string literals. And if I looked 
correctly `tooling::Replacement` takes an `StringRef`.

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

Reply via email to