[llvm] [OpenMP][NFC] Fix stale DeviceRTL header path in OpenMPIRBuilder (PR #185563)
Muyao Xiao via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 9 20:06:30 PDT 2026
https://github.com/mooxiu created https://github.com/llvm/llvm-project/pull/185563
The `\see` comment in `OpenMPIRBuilder.h` references `openmp/libomptarget/deviceRTLs/common/include/target.h`. This file no longer exists.
This patch updates the comment to point to the current correct header: `openmp/device/include/Interface.h`.
>From 930907c4071a47825e71986df937be3881d4a207 Mon Sep 17 00:00:00 2001
From: Muyao Xiao <monetshaw at outlook.com>
Date: Tue, 10 Mar 2026 12:03:01 +0900
Subject: [PATCH] fix outdated doc
---
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
index f73e10c97e642..c3b4ad35237dc 100644
--- a/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
+++ b/llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
@@ -3200,7 +3200,7 @@ class OpenMPIRBuilder {
/// The `omp target` interface
///
/// For more information about the usage of this interface,
- /// \see openmp/libomptarget/deviceRTLs/common/include/target.h
+ /// \see openmp/device/include/Interface.h
///
///{
More information about the llvm-commits
mailing list