[clang] [clang][Python] Use fstrings instead of string concatenations (PR #173861)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 13 13:56:25 PST 2026
================
@@ -563,7 +563,7 @@ def __init__(self, range, value):
self.value = value
def __repr__(self):
- return f"<FixIt range {self.range!r}, value {self.value!r}>"
+ return "<FixIt range {}, value {}>".format(self.range, self.value)
----------------
Endilll wrote:
This now omits call to `repr()`. Do we have test that check that output didn't change?
https://github.com/llvm/llvm-project/pull/173861
More information about the cfe-commits
mailing list