[all-commits] [llvm/llvm-project] d74a60: [clang-tidy] Fix OpenCL builtin redeclaration in t...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Mon Jun 8 21:18:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d74a606a93e73ea995d6628d4893b95bcd8f6325
      https://github.com/llvm/llvm-project/commit/d74a606a93e73ea995d6628d4893b95bcd8f6325
  Author: Daniil Dudkin <unterumarmung at yandex.ru>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/checkers/altera/id-dependent-backward-branch.cpp

  Log Message:
  -----------
  [clang-tidy] Fix OpenCL builtin redeclaration in test (#202429)

Guard the local `get_local_id` declaration so OpenCL C++ runs use the
builtin declaration and non-OpenCL C++ runs still compile.

Reported in:
https://github.com/llvm/llvm-project/pull/200660#issuecomment-4651173130



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