[all-commits] [llvm/llvm-project] a5b88c: [libclc] Add missing includes to CLC headers (#118...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Jan 15 02:15:14 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5b88cb815d8f38698a3064a727b59143e0dae42
      https://github.com/llvm/llvm-project/commit/a5b88cb815d8f38698a3064a727b59143e0dae42
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2025-01-15 (Wed, 15 Jan 2025)

  Changed paths:
    A libclc/clc/include/clc/geometric/floatn.inc
    M libclc/clc/include/clc/integer/gentype.inc
    M libclc/clc/include/clc/math/gentype.inc
    M libclc/clc/include/clc/math/unary_intrin.inc
    M libclc/clc/include/clc/relational/clc_all.h
    M libclc/clc/include/clc/relational/clc_any.h
    M libclc/clc/include/clc/relational/clc_isequal.h
    M libclc/clc/include/clc/relational/clc_isinf.h
    M libclc/clc/include/clc/relational/clc_isnan.h
    M libclc/clc/include/clc/relational/floatn.inc
    M libclc/clc/include/clc/shared/clc_clamp.h
    R libclc/generic/include/clc/geometric/floatn.inc

  Log Message:
  -----------
  [libclc] Add missing includes to CLC headers (#118654)

There's no automatic way of checking these headers are self-contained.

Instead of including these common files many times across the whole
codebase, we can include them in the generic `gentype.inc` and
`floatn.inc` files which are included by most CLC headers.



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