We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 068004d commit abd6719Copy full SHA for abd6719
toolchain/docs/diagnostics.md
@@ -171,7 +171,8 @@ methods for formatting arguments:
171
- `llvm::StringRef` is disallowed due to lifetime issues.
172
- `llvm::StringLiteral` is disallowed because format providers such as
173
`BoolAsSelect` should work in cases where a `StringLiteral` could be
174
- used.
+ used, and because string literal parameters tend to make
175
+ the resulting diagnostics hard to translate.
176
- `llvm::format_provider<...>` specializations.
177
- `BoolAsSelect` and `IntAsSelect` from
178
[format_providers.h](/toolchain/diagnostics/format_providers.h) are
0 commit comments