[clang] [clang] Update -Wformat warnings for fixed-point format specifiers (PR #82855)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 24 16:11:14 PST 2024


================
@@ -2981,6 +2981,10 @@ class ASTContext : public RefCountedBase<ASTContext> {
   // corresponding saturated type for a given fixed point type.
   QualType getCorrespondingSaturatedType(QualType Ty) const;
 
+  // Per ISO N1169, this method accepts fixed point types and returns the
+  // corresponding non-saturated type for a given fixed point type.
----------------
petrhosek wrote:

```suggestion
  // Per ISO/IEC TR 18037:2008, this method accepts fixed point types and
  // returns the corresponding non-saturated type for a given fixed point type.
```

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


More information about the cfe-commits mailing list