[llvm] [llvm][DebugInfo] formatv - Tests (PR #191980)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 01:54:28 PDT 2026


================
@@ -412,8 +412,56 @@ TEST(FormatAndFormatvTest, EquivalentHexFormatting) {
             formatv("0x{0:x-}", fmt_align(N, AlignStyle::Right, HexDigits, '0'))
                 .str());
 
+  // More examples
----------------
DavidSpickett wrote:

Comments are full sentences https://llvm.org/docs/CodingStandards.html#commenting.

Also I would either remove the comment entirely, or extend it to say:
```
// More examples of equivalence.
```

https://github.com/llvm/llvm-project/pull/191980


More information about the llvm-commits mailing list