[llvm] [Offload] Add missing license header to Common.td (PR #146737)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 08:59:04 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload
Author: Callum Fare (callumfare)
<details>
<summary>Changes</summary>
All other tablegen files in this directory have the license header, but `Common.td` is missing it
---
Full diff: https://github.com/llvm/llvm-project/pull/146737.diff
1 Files Affected:
- (modified) offload/liboffload/API/Common.td (+12)
``````````diff
diff --git a/offload/liboffload/API/Common.td b/offload/liboffload/API/Common.td
index 669dfd3cca7c6..850a01d06759e 100644
--- a/offload/liboffload/API/Common.td
+++ b/offload/liboffload/API/Common.td
@@ -1,3 +1,15 @@
+//===-- Common.td - Common definitions for Offload ---------*- tablegen -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file contains shared Offload API definitions
+//
+//===----------------------------------------------------------------------===//
+
def : Macro {
let name = "OL_VERSION_MAJOR";
let desc = "Major version of the Offload API";
``````````
</details>
https://github.com/llvm/llvm-project/pull/146737
More information about the llvm-commits
mailing list