================
@@ -3284,10 +3284,12 @@ def briefComment(self) -> str:
def __repr__(self) -> str:
return (
- f"{' | '.join(str(a) for a in self)}"
- f" || Priority: {self.priority}"
- f" || Availability: {self.availability}"
- f" || Brief comment: {self.briefComment}"
+ "{} || Priority: {} || Availability: {} || Brief comment:
{}".format(
+ " | ".join(str(a) for a in self),
----------------
Endilll wrote:
```diff
- "{} || Priority: {} || Availability: {} || Brief comment:
{}".format(
- " | ".join(str(a) for a in self),
+ "{chunks} || Priority: {} || Availability: {} || Brief comment:
{}".format(
+ chunks=" | ".join(str(a) for a in self),
```
Can we have something like this? To make it clearer what kind of information
goes there.
CC @DeinAlptraum
https://github.com/llvm/llvm-project/pull/173861
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits