Skip to content

Commit 1b82b50

Browse files
committed
[NFC][MemProf] Add the LLVM license text and minor clean up.
1 parent 0528848 commit 1b82b50

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

llvm/include/llvm/ProfileData/MemProf.h

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1-
#ifndef LLVM_PROFILEDATA_MEMPROF_H_
2-
#define LLVM_PROFILEDATA_MEMPROF_H_
1+
//===- MemProf.h - MemProf support ------------------------------*- C++ -*-===//
2+
//
3+
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4+
// See https://llvm.org/LICENSE.txt for license information.
5+
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6+
//
7+
//===----------------------------------------------------------------------===//
8+
//
9+
// This file contains common definitions used in the reading and writing of
10+
// memory profile data.
11+
//
12+
//===----------------------------------------------------------------------===//
13+
14+
#ifndef LLVM_PROFILEDATA_MEMPROF_H
15+
#define LLVM_PROFILEDATA_MEMPROF_H
316

417
#include "llvm/ADT/BitVector.h"
518
#include "llvm/ADT/MapVector.h"
@@ -844,5 +857,4 @@ struct LineLocation {
844857
using CallEdgeTy = std::pair<LineLocation, uint64_t>;
845858
} // namespace memprof
846859
} // namespace llvm
847-
848-
#endif // LLVM_PROFILEDATA_MEMPROF_H_
860+
#endif // LLVM_PROFILEDATA_MEMPROF_H

0 commit comments

Comments
 (0)