[llvm] [Offload] Add missing license header to Common.td (PR #146737)
Callum Fare via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 2 08:58:35 PDT 2025
https://github.com/callumfare created https://github.com/llvm/llvm-project/pull/146737
All other tablegen files in this directory have the license header, but `Common.td` is missing it
>From 5d5009bf2ef32a0c9a7f94861869e31b5adfda24 Mon Sep 17 00:00:00 2001
From: Callum Fare <callum at codeplay.com>
Date: Wed, 2 Jul 2025 16:56:09 +0100
Subject: [PATCH] [Offload] Add missing license header to
liboffload/API/Commond.td
---
offload/liboffload/API/Common.td | 12 ++++++++++++
1 file changed, 12 insertions(+)
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";
More information about the llvm-commits
mailing list