================
@@ -876,6 +876,15 @@ class ASTContext : public RefCountedBase<ASTContext> {
   QualType getIntTypeForBitwidth(unsigned DestWidth,
                                  unsigned Signed) const;
 
+  /// getGCCCompatibleIntTypeForBitwidth -
+  /// sets integer QualTy according to specified details:
+  /// bitwidth, signed/unsigned.
+  /// this function is compatible with GCC's preference:
+  /// int > signed char > short > long > long long > int128_t
+  /// Returns empty type if there is no appropriate target types.
----------------
mizvekov wrote:

```suggestion
  /// Returns null type if there is no appropriate target types.
```

https://github.com/llvm/llvm-project/pull/148954
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to