[clang] [clang-tools-extra] [HIP][CUDA] Support for header file types .hiph, .cuh (fixes 148972) (PR #148973)

2025-07-15 Thread Alex Baretta via cfe-commits
https://github.com/alexbaretta updated https://github.com/llvm/llvm-project/pull/148973 >From 32b3ac0d7545853920aca489df244cb11a97ee57 Mon Sep 17 00:00:00 2001 From: Alex Baretta Date: Tue, 15 Jul 2025 14:45:34 -0700 Subject: [PATCH] [HIP][CUDA] Support for header file types .hiph, .cuh With t

[clang] [clang-tools-extra] [HIP][CUDA] Support for header file types .hiph, .cuh (fixes 148972) (PR #148973)

2025-07-15 Thread Alex Baretta via cfe-commits
https://github.com/alexbaretta created https://github.com/llvm/llvm-project/pull/148973 With this change, clangd interprets .cuh and .hiph extensions as header files for CUDA and HIP respectively. This is necessary to allow clangd to correctly determine the compile command for these header fil