[libc-commits] [libc] cd7a5c3 - [libc][obvious] Add license headers to APIIndexer.[cpp|h].

Siva Chandra Reddy via libc-commits libc-commits at lists.llvm.org
Tue Jul 28 17:06:15 PDT 2020


Author: Siva Chandra Reddy
Date: 2020-07-28T17:04:03-07:00
New Revision: cd7a5c3cd9a4891654b1b36f743a250135eb5c5a

URL: https://github.com/llvm/llvm-project/commit/cd7a5c3cd9a4891654b1b36f743a250135eb5c5a
DIFF: https://github.com/llvm/llvm-project/commit/cd7a5c3cd9a4891654b1b36f743a250135eb5c5a.diff

LOG: [libc][obvious] Add license headers to APIIndexer.[cpp|h].

Added: 
    

Modified: 
    libc/utils/LibcTableGenUtil/APIIndexer.cpp
    libc/utils/LibcTableGenUtil/APIIndexer.h

Removed: 
    


################################################################################
diff  --git a/libc/utils/LibcTableGenUtil/APIIndexer.cpp b/libc/utils/LibcTableGenUtil/APIIndexer.cpp
index 934d713f905e5..366dea9ec11c6 100644
--- a/libc/utils/LibcTableGenUtil/APIIndexer.cpp
+++ b/libc/utils/LibcTableGenUtil/APIIndexer.cpp
@@ -1,3 +1,10 @@
+//===-- Implementation of APIIndexer clas ---------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
 
 #include "APIIndexer.h"
 

diff  --git a/libc/utils/LibcTableGenUtil/APIIndexer.h b/libc/utils/LibcTableGenUtil/APIIndexer.h
index a0f0acf600d81..8fa87113610e1 100644
--- a/libc/utils/LibcTableGenUtil/APIIndexer.h
+++ b/libc/utils/LibcTableGenUtil/APIIndexer.h
@@ -1,3 +1,13 @@
+//===-- A class to index libc API listed in tablegen files ------*- 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
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_UTILS_LIBC_TABLE_GEN_UTILS_API_INDEXER_H
+#define LLVM_LIBC_UTILS_LIBC_TABLE_GEN_UTILS_API_INDEXER_H
 
 #include "llvm/ADT/StringRef.h"
 #include "llvm/TableGen/Record.h"
@@ -64,3 +74,5 @@ class APIIndexer {
 };
 
 } // namespace llvm_libc
+
+#endif // LLVM_LIBC_UTILS_LIBC_TABLE_GEN_UTILS_API_INDEXER_H


        


More information about the libc-commits mailing list