[all-commits] [llvm/llvm-project] 5eecec: [flang] Fix use of __has_builtin and formatting (#...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Jul 14 17:21:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5eecec8e81ec01444bae0232a43f6619ab4274c4
      https://github.com/llvm/llvm-project/commit/5eecec8e81ec01444bae0232a43f6619ab4274c4
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-07-14 (Mon, 14 Jul 2025)

  Changed paths:
    M flang/include/flang/Common/format.h

  Log Message:
  -----------
  [flang] Fix use of __has_builtin and formatting (#148746)

`__has_builtin` is not available on all compilers. Make sure it works
when not defined.

Also fix some formatting issues: 
- Use brace initialization where possible
- Fix wrong capitalization of variables.
- Add `std::` for `unit64_t` and `int64_t` as it is mostly done in this
part of the codebase.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list