[clang] [clang] Add `__bf16` Type Support Macros With Literal Suffix Support (PR #134214)

via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 4 01:52:54 PDT 2025


================
@@ -978,6 +979,28 @@ NumericLiteralParser::NumericLiteralParser(StringRef TokSpelling,
   // we break out of the loop.
   for (; s != ThisTokEnd; ++s) {
     switch (*s) {
+    case 'b':
----------------
overmighty wrote:

```suggestion
    case 'b': // FP Suffix for "__bf16"
```

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


More information about the cfe-commits mailing list