[all-commits] [llvm/llvm-project] c8f4fe: [Clang] Add macro for `__VULKAN__` environment (#1...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 7 07:46:39 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c8f4fe35a29534d420cd73f317fa1dabfe7560ee
      https://github.com/llvm/llvm-project/commit/c8f4fe35a29534d420cd73f317fa1dabfe7560ee
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2026-05-07 (Thu, 07 May 2026)

  Changed paths:
    M clang/lib/Basic/Targets/SPIR.cpp
    M clang/test/Preprocessor/predefined-macros.c

  Log Message:
  -----------
  [Clang] Add macro for `__VULKAN__` environment (#196103)

Summary:
Adds a macro like for `__LINUX__` or `__WIN32`. The intention here is to
let code differentiate between vulkan variants or not.



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