https://github.com/snehasish updated https://github.com/llvm/llvm-project/pull/140504
>From 36aeb3a179b64b9631af7849ed08d8cf7c7564e5 Mon Sep 17 00:00:00 2001 From: Snehasish Kumar <snehasi...@google.com> Date: Fri, 16 May 2025 23:55:43 -0700 Subject: [PATCH] [NFC][MemProf] Add the LLVM license text and minor clean up. --- llvm/include/llvm/ProfileData/MemProf.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/ProfileData/MemProf.h b/llvm/include/llvm/ProfileData/MemProf.h index ce5cd5ee4856b..683193aa42747 100644 --- a/llvm/include/llvm/ProfileData/MemProf.h +++ b/llvm/include/llvm/ProfileData/MemProf.h @@ -1,5 +1,18 @@ -#ifndef LLVM_PROFILEDATA_MEMPROF_H_ -#define LLVM_PROFILEDATA_MEMPROF_H_ +//===- MemProf.h - MemProf support ------------------------------*- C++ -*-===// +// +// 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 common definitions used in the reading and writing of +// memory profile data. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_PROFILEDATA_MEMPROF_H +#define LLVM_PROFILEDATA_MEMPROF_H #include "llvm/ADT/BitVector.h" #include "llvm/ADT/MapVector.h" @@ -844,5 +857,4 @@ struct LineLocation { using CallEdgeTy = std::pair<LineLocation, uint64_t>; } // namespace memprof } // namespace llvm - -#endif // LLVM_PROFILEDATA_MEMPROF_H_ +#endif // LLVM_PROFILEDATA_MEMPROF_H _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits