[flang-commits] [flang] 7f9b09d - [flang][NFC] Add missing license and fix short first line (#229647)
via flang-commits
flang-commits at lists.llvm.org
Tue Oct 6 20:49:11 PDT 2026
Author: Valentin Clement (バレンタイン クレメン)
Date: 2026-10-07T03:49:02Z
New Revision: 7f9b09dab4c7bb8ac5ac3f87e1a96b20410098d3
URL: https://github.com/llvm/llvm-project/commit/7f9b09dab4c7bb8ac5ac3f87e1a96b20410098d3
DIFF: https://github.com/llvm/llvm-project/commit/7f9b09dab4c7bb8ac5ac3f87e1a96b20410098d3.diff
LOG: [flang][NFC] Add missing license and fix short first line (#229647)
- Fix shorter first line than 80 characters
- Add missing license at the top of some files
Assisted-by: AI
Added:
Modified:
flang/include/flang/Common/api-attrs.h
flang/include/flang/Common/fast-int-set.h
flang/include/flang/Common/float128.h
flang/include/flang/Frontend/CompilerInvocation.h
flang/include/flang/Lower/BuiltinModules.h
flang/include/flang/Lower/CallInterface.h
flang/include/flang/Optimizer/Analysis/TBAAForest.h
flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h
flang/include/flang/Optimizer/HLFIR/Passes.h
flang/include/flang/Optimizer/OpenACC/Passes.h
flang/include/flang/Tools/PointerModels.h
flang/include/flang/Tools/TargetSetup.h
flang/lib/Lower/OpenMP/ClauseFinder.h
flang/lib/Optimizer/CodeGen/RematerializeFIRBoxOps.cpp
flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp
flang/lib/Optimizer/OpenACC/Transforms/ACCEmitNYIFlang.cpp
flang/lib/Optimizer/OpenACC/Transforms/ACCEraseUnusedKernelAllocations.cpp
flang/lib/Optimizer/OpenACC/Transforms/ACCInitializeFIRAnalyses.cpp
flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
flang/lib/Optimizer/Transforms/AffineDemotion.cpp
flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
flang/lib/Optimizer/Transforms/VScaleAttr.cpp
flang/lib/Support/Flags.cpp
flang/tools/fir-lsp-server/fir-lsp-server.cpp
flang/unittests/Decimal/quick-sanity-test.cpp
flang/unittests/Decimal/thorough-test.cpp
flang/unittests/Evaluate/bit-population-count.cpp
flang/unittests/Evaluate/expression.cpp
flang/unittests/Evaluate/folding.cpp
flang/unittests/Evaluate/integer.cpp
flang/unittests/Evaluate/intrinsics.cpp
flang/unittests/Evaluate/leading-zero-bit-count.cpp
flang/unittests/Evaluate/logical.cpp
flang/unittests/Evaluate/real.cpp
flang/unittests/Evaluate/uint128.cpp
flang/unittests/Optimizer/Builder/ComplexTest.cpp
flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp
flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp
Removed:
################################################################################
diff --git a/flang/include/flang/Common/api-attrs.h b/flang/include/flang/Common/api-attrs.h
index 539beb3b507106..7ee6283bf0d90b 100644
--- a/flang/include/flang/Common/api-attrs.h
+++ b/flang/include/flang/Common/api-attrs.h
@@ -1,4 +1,4 @@
-/*===-- include/flang/Common/api-attrs.h ---------------------------*- C -*-=//
+/*===-- include/flang/Common/api-attrs.h ----------------------------*- C -*-=//
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Common/fast-int-set.h b/flang/include/flang/Common/fast-int-set.h
index 1214bac75a4bf1..49c90caaa20e12 100644
--- a/flang/include/flang/Common/fast-int-set.h
+++ b/flang/include/flang/Common/fast-int-set.h
@@ -1,4 +1,4 @@
-//===-- include/flang/Common/fast-int-set.h --------------------*- C++ -*-===//
+//===-- include/flang/Common/fast-int-set.h ---------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Common/float128.h b/flang/include/flang/Common/float128.h
index eddd3cf25382e1..0600710e4d24c0 100644
--- a/flang/include/flang/Common/float128.h
+++ b/flang/include/flang/Common/float128.h
@@ -1,4 +1,4 @@
-/*===-- flang/Common/float128.h ----------------------------------*- C -*-===
+/*===-- flang/Common/float128.h -------------------------------------*- C -*-===
*
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
* See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Frontend/CompilerInvocation.h b/flang/include/flang/Frontend/CompilerInvocation.h
index d294955af780e3..440d5b23eb84dd 100644
--- a/flang/include/flang/Frontend/CompilerInvocation.h
+++ b/flang/include/flang/Frontend/CompilerInvocation.h
@@ -1,4 +1,4 @@
-//===- CompilerInvocation.h - Compiler Invocation Helper Data ---*- C -*-===//
+//===- CompilerInvocation.h - Compiler Invocation Helper Data ---*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Lower/BuiltinModules.h b/flang/include/flang/Lower/BuiltinModules.h
index 5e251d6060c47c..43a458898ed82e 100644
--- a/flang/include/flang/Lower/BuiltinModules.h
+++ b/flang/include/flang/Lower/BuiltinModules.h
@@ -1,4 +1,4 @@
-//===-- BuiltinModules.h --------------------------------------*- C++ -*-===//
+//===-- BuiltinModules.h ----------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Lower/CallInterface.h b/flang/include/flang/Lower/CallInterface.h
index df0c73bd91eefc..2673e61b1a915e 100644
--- a/flang/include/flang/Lower/CallInterface.h
+++ b/flang/include/flang/Lower/CallInterface.h
@@ -1,4 +1,4 @@
-//===-- Lower/CallInterface.h -- Procedure call interface ------*- C++ -*-===//
+//===-- Lower/CallInterface.h -- Procedure call interface -------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Optimizer/Analysis/TBAAForest.h b/flang/include/flang/Optimizer/Analysis/TBAAForest.h
index b4bc3dd0d2f145..e31bf4841061aa 100644
--- a/flang/include/flang/Optimizer/Analysis/TBAAForest.h
+++ b/flang/include/flang/Optimizer/Analysis/TBAAForest.h
@@ -1,4 +1,4 @@
-//===-- TBAAForest.h - A TBAA tree for each function -----------*- C++ -*-===//
+//===-- TBAAForest.h - A TBAA tree for each function ------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h b/flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h
index c3a752d1c1e0e2..4cb218bb335337 100644
--- a/flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h
+++ b/flang/include/flang/Optimizer/Dialect/FIRBoxUtils.h
@@ -1,4 +1,4 @@
-//===-- Optimizer/Dialect/FIRBoxUtils.h -- FIR box utilities --*- C++ -*-===//
+//===-- Optimizer/Dialect/FIRBoxUtils.h -- FIR box utilities ----*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Optimizer/HLFIR/Passes.h b/flang/include/flang/Optimizer/HLFIR/Passes.h
index 42baa9566c4fe7..d009a31582470a 100644
--- a/flang/include/flang/Optimizer/HLFIR/Passes.h
+++ b/flang/include/flang/Optimizer/HLFIR/Passes.h
@@ -1,4 +1,4 @@
-//===- Passes.h - HLFIR pass entry points ----------------------*- C++ -*-===//
+//===- Passes.h - HLFIR pass entry points -----------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Optimizer/OpenACC/Passes.h b/flang/include/flang/Optimizer/OpenACC/Passes.h
index 10b1e49c3ed023..f884bf0661ffb9 100644
--- a/flang/include/flang/Optimizer/OpenACC/Passes.h
+++ b/flang/include/flang/Optimizer/OpenACC/Passes.h
@@ -1,4 +1,4 @@
-//===- Passes.h - OpenACC pass entry points -------------------*- C++ -*-===//
+//===- Passes.h - OpenACC pass entry points ---------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Tools/PointerModels.h b/flang/include/flang/Tools/PointerModels.h
index 0d22ed3ca7f4f6..39fec5698d3cc8 100644
--- a/flang/include/flang/Tools/PointerModels.h
+++ b/flang/include/flang/Tools/PointerModels.h
@@ -1,4 +1,4 @@
-//===-- Tools/PointerModels.h --------------------- *-C++-*-===//
+//===-- Tools/PointerModels.h -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/include/flang/Tools/TargetSetup.h b/flang/include/flang/Tools/TargetSetup.h
index 47f886141b002a..fe6215b7a538a3 100644
--- a/flang/include/flang/Tools/TargetSetup.h
+++ b/flang/include/flang/Tools/TargetSetup.h
@@ -1,4 +1,4 @@
-//===-- Tools/TargetSetup.h ------------------------------------- *-C++-*-===//
+//===-- Tools/TargetSetup.h -------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Lower/OpenMP/ClauseFinder.h b/flang/lib/Lower/OpenMP/ClauseFinder.h
index af525854528339..32dba77565f81e 100644
--- a/flang/lib/Lower/OpenMP/ClauseFinder.h
+++ b/flang/lib/Lower/OpenMP/ClauseFinder.h
@@ -1,4 +1,4 @@
-//===-- Lower/OpenMP/ClauseFinder.h --------------------------*- C++ -*-===//
+//===-- Lower/OpenMP/ClauseFinder.h -----------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/CodeGen/RematerializeFIRBoxOps.cpp b/flang/lib/Optimizer/CodeGen/RematerializeFIRBoxOps.cpp
index 4e3410d569e8bb..669659d105d38a 100644
--- a/flang/lib/Optimizer/CodeGen/RematerializeFIRBoxOps.cpp
+++ b/flang/lib/Optimizer/CodeGen/RematerializeFIRBoxOps.cpp
@@ -1,4 +1,4 @@
-//===-- RematerializeFIRBoxOps.cpp ---------------------------------------===//
+//===-- RematerializeFIRBoxOps.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp b/flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
index bf058c12e11473..4c9955d8a986c2 100644
--- a/flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
+++ b/flang/lib/Optimizer/Dialect/FirAliasTagOpInterface.cpp
@@ -1,4 +1,4 @@
-//===-- FirAliasTagOpInterface.cpp ----------------------------------===//
+//===-- FirAliasTagOpInterface.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp b/flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp
index da7a1fe7662758..f322cd5215fa6a 100644
--- a/flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp
+++ b/flang/lib/Optimizer/OpenACC/Analysis/FIROpenACCSupportAnalysis.cpp
@@ -1,4 +1,4 @@
-//===- FIROpenACCSupportAnalysis.cpp - FIR OpenACCSupport Analysis -------===//
+//===- FIROpenACCSupportAnalysis.cpp - FIR OpenACCSupport Analysis --------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenACC/Transforms/ACCEmitNYIFlang.cpp b/flang/lib/Optimizer/OpenACC/Transforms/ACCEmitNYIFlang.cpp
index 57b68b030ddfc0..0284da50b800b2 100644
--- a/flang/lib/Optimizer/OpenACC/Transforms/ACCEmitNYIFlang.cpp
+++ b/flang/lib/Optimizer/OpenACC/Transforms/ACCEmitNYIFlang.cpp
@@ -1,4 +1,4 @@
-//===- ACCEmitNYIFlang.cpp - Emit NYI diagnostics for OpenACC ------------===//
+//===- ACCEmitNYIFlang.cpp - Emit NYI diagnostics for OpenACC -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenACC/Transforms/ACCEraseUnusedKernelAllocations.cpp b/flang/lib/Optimizer/OpenACC/Transforms/ACCEraseUnusedKernelAllocations.cpp
index b39018291acd27..a3ce9a75da92bf 100644
--- a/flang/lib/Optimizer/OpenACC/Transforms/ACCEraseUnusedKernelAllocations.cpp
+++ b/flang/lib/Optimizer/OpenACC/Transforms/ACCEraseUnusedKernelAllocations.cpp
@@ -1,4 +1,4 @@
-//===- ACCEraseUnusedKernelAllocations.cpp - Drop dead kernel allocs -----===//
+//===- ACCEraseUnusedKernelAllocations.cpp - Drop dead kernel allocs ------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenACC/Transforms/ACCInitializeFIRAnalyses.cpp b/flang/lib/Optimizer/OpenACC/Transforms/ACCInitializeFIRAnalyses.cpp
index 3a8cd2d4c4abe9..3070571916d8af 100644
--- a/flang/lib/Optimizer/OpenACC/Transforms/ACCInitializeFIRAnalyses.cpp
+++ b/flang/lib/Optimizer/OpenACC/Transforms/ACCInitializeFIRAnalyses.cpp
@@ -1,4 +1,4 @@
-//===- ACCInitializeFIRAnalyses.cpp - Initialize FIR analyses ------------===//
+//===- ACCInitializeFIRAnalyses.cpp - Initialize FIR analyses -------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp b/flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
index 0ec0c9193e9694..6378dd48df3e8b 100644
--- a/flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
+++ b/flang/lib/Optimizer/OpenMP/AutomapToTargetData.cpp
@@ -1,4 +1,4 @@
-//===- AutomapToTargetData.cpp -------------------------------------------===//
+//===- AutomapToTargetData.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp b/flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
index be0bdb77fdca8c..afdc12600588be 100644
--- a/flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
+++ b/flang/lib/Optimizer/OpenMP/LowerNontemporal.cpp
@@ -1,4 +1,4 @@
-//===- LowerNontemporal.cpp -------------------------------------------===//
+//===- LowerNontemporal.cpp -----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp b/flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
index 5af2d1ddb5f506..25cf4661d7933f 100644
--- a/flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
+++ b/flang/lib/Optimizer/OpenMP/LowerWorkdistribute.cpp
@@ -1,5 +1,4 @@
-//===- LowerWorkdistribute.cpp
-//-------------------------------------------------===//
+//===- LowerWorkdistribute.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp b/flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
index aff250c90e181c..2e041c0d8e587e 100644
--- a/flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
+++ b/flang/lib/Optimizer/OpenMP/LowerWorkshare.cpp
@@ -1,4 +1,4 @@
-//===- LowerWorkshare.cpp - special cases for bufferization -------===//
+//===- LowerWorkshare.cpp - special cases for bufferization ---------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp b/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
index 8046a702f330a7..0d1d275d49c03c 100644
--- a/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+++ b/flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
@@ -1,4 +1,4 @@
-//===- MapInfoFinalization.cpp -----------------------------------------===//
+//===- MapInfoFinalization.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/Transforms/AddDebugInfo.cpp b/flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
index a334a16859f4c6..64cef884a52755 100644
--- a/flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
+++ b/flang/lib/Optimizer/Transforms/AddDebugInfo.cpp
@@ -1,4 +1,4 @@
-//===-------------- AddDebugInfo.cpp -- add debug info -------------------===//
+//===-------------- AddDebugInfo.cpp -- add debug info --------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/Transforms/AffineDemotion.cpp b/flang/lib/Optimizer/Transforms/AffineDemotion.cpp
index 5d7a82c09c1d6e..8be3a80461a113 100644
--- a/flang/lib/Optimizer/Transforms/AffineDemotion.cpp
+++ b/flang/lib/Optimizer/Transforms/AffineDemotion.cpp
@@ -1,4 +1,4 @@
-//===-- AffineDemotion.cpp -----------------------------------------------===//
+//===-- AffineDemotion.cpp ------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/Transforms/FIRToMemRef.cpp b/flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
index 1542047724e1d8..fd22c2b789aaa4 100644
--- a/flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
+++ b/flang/lib/Optimizer/Transforms/FIRToMemRef.cpp
@@ -1,4 +1,4 @@
-//===-- FIRToMemRef.cpp - Convert FIR loads and stores to MemRef ---------===//
+//===-- FIRToMemRef.cpp - Convert FIR loads and stores to MemRef ----------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Optimizer/Transforms/VScaleAttr.cpp b/flang/lib/Optimizer/Transforms/VScaleAttr.cpp
index 7fcd7d6f6a3aad..e0c665ce0e4bab 100644
--- a/flang/lib/Optimizer/Transforms/VScaleAttr.cpp
+++ b/flang/lib/Optimizer/Transforms/VScaleAttr.cpp
@@ -1,4 +1,4 @@
-//===- VScaleAttr.cpp -------------------------------------------------===//
+//===- VScaleAttr.cpp -----------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/lib/Support/Flags.cpp b/flang/lib/Support/Flags.cpp
index 02f64981618dd6..250232448ee94e 100644
--- a/flang/lib/Support/Flags.cpp
+++ b/flang/lib/Support/Flags.cpp
@@ -1,4 +1,4 @@
-//===-- lib/Support/Flags.cpp ---------------------------------*- C++ -*-===//
+//===-- lib/Support/Flags.cpp -----------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/tools/fir-lsp-server/fir-lsp-server.cpp b/flang/tools/fir-lsp-server/fir-lsp-server.cpp
index 8b724e292b5abb..c032178b4b7dd4 100644
--- a/flang/tools/fir-lsp-server/fir-lsp-server.cpp
+++ b/flang/tools/fir-lsp-server/fir-lsp-server.cpp
@@ -1,3 +1,11 @@
+//===-- tools/fir-lsp-server/fir-lsp-server.cpp ---------------------------===//
+//
+// 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 "mlir/Tools/mlir-lsp-server/MlirLspServerMain.h"
#include "flang/Optimizer/Support/InitFIR.h"
diff --git a/flang/unittests/Decimal/quick-sanity-test.cpp b/flang/unittests/Decimal/quick-sanity-test.cpp
index dafb075307ab6a..4487835e028c72 100644
--- a/flang/unittests/Decimal/quick-sanity-test.cpp
+++ b/flang/unittests/Decimal/quick-sanity-test.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Decimal/quick-sanity-test.cpp ---------------------------===//
+//
+// 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 "flang/Decimal/decimal.h"
#include "llvm/Support/raw_ostream.h"
#include <cinttypes>
diff --git a/flang/unittests/Decimal/thorough-test.cpp b/flang/unittests/Decimal/thorough-test.cpp
index 46951f33eb8fee..17b31705224db8 100644
--- a/flang/unittests/Decimal/thorough-test.cpp
+++ b/flang/unittests/Decimal/thorough-test.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Decimal/thorough-test.cpp -------------------------------===//
+//
+// 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 "flang/Decimal/decimal.h"
#include "llvm/Support/raw_ostream.h"
#include <cinttypes>
diff --git a/flang/unittests/Evaluate/bit-population-count.cpp b/flang/unittests/Evaluate/bit-population-count.cpp
index 0c9529a92e5724..095b24a0f825f4 100644
--- a/flang/unittests/Evaluate/bit-population-count.cpp
+++ b/flang/unittests/Evaluate/bit-population-count.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/bit-population-count.cpp -----------------------===//
+//
+// 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 "flang/Common/bit-population-count.h"
#include "flang/Testing/testing.h"
diff --git a/flang/unittests/Evaluate/expression.cpp b/flang/unittests/Evaluate/expression.cpp
index d575f36def287e..47228ab8ca3bb0 100644
--- a/flang/unittests/Evaluate/expression.cpp
+++ b/flang/unittests/Evaluate/expression.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/expression.cpp ---------------------------------===//
+//
+// 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 "flang/Evaluate/expression.h"
#include "flang/Evaluate/fold.h"
#include "flang/Evaluate/intrinsics.h"
diff --git a/flang/unittests/Evaluate/folding.cpp b/flang/unittests/Evaluate/folding.cpp
index 832e55d44316da..fa0c74a04a9721 100644
--- a/flang/unittests/Evaluate/folding.cpp
+++ b/flang/unittests/Evaluate/folding.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/folding.cpp ------------------------------------===//
+//
+// 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 "../../lib/Evaluate/host.h"
#include "flang/Evaluate/call.h"
#include "flang/Evaluate/expression.h"
diff --git a/flang/unittests/Evaluate/integer.cpp b/flang/unittests/Evaluate/integer.cpp
index 5ab22cc6443a7b..3c65fc5c7df267 100644
--- a/flang/unittests/Evaluate/integer.cpp
+++ b/flang/unittests/Evaluate/integer.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/integer.cpp ------------------------------------===//
+//
+// 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 "flang/Evaluate/integer.h"
#include "flang/Testing/testing.h"
#include <cstdio>
diff --git a/flang/unittests/Evaluate/intrinsics.cpp b/flang/unittests/Evaluate/intrinsics.cpp
index cca2f8c30247e0..b64d2923b3eae4 100644
--- a/flang/unittests/Evaluate/intrinsics.cpp
+++ b/flang/unittests/Evaluate/intrinsics.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/intrinsics.cpp ---------------------------------===//
+//
+// 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 "flang/Evaluate/intrinsics.h"
#include "flang/Evaluate/common.h"
#include "flang/Evaluate/expression.h"
diff --git a/flang/unittests/Evaluate/leading-zero-bit-count.cpp b/flang/unittests/Evaluate/leading-zero-bit-count.cpp
index 25e2664e76df04..ffa7bd68de1820 100644
--- a/flang/unittests/Evaluate/leading-zero-bit-count.cpp
+++ b/flang/unittests/Evaluate/leading-zero-bit-count.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/leading-zero-bit-count.cpp ---------------------===//
+//
+// 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 "flang/Common/leading-zero-bit-count.h"
#include "flang/Testing/testing.h"
diff --git a/flang/unittests/Evaluate/logical.cpp b/flang/unittests/Evaluate/logical.cpp
index ba7d0d8d0c0e3a..34631e28d38cdd 100644
--- a/flang/unittests/Evaluate/logical.cpp
+++ b/flang/unittests/Evaluate/logical.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/logical.cpp ------------------------------------===//
+//
+// 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 "flang/Evaluate/type.h"
#include "flang/Testing/testing.h"
#include <cstdio>
diff --git a/flang/unittests/Evaluate/real.cpp b/flang/unittests/Evaluate/real.cpp
index a28da5c3273ceb..0ac7f48a5cf351 100644
--- a/flang/unittests/Evaluate/real.cpp
+++ b/flang/unittests/Evaluate/real.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/real.cpp ---------------------------------------===//
+//
+// 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 "flang/Evaluate/type.h"
#include "flang/Testing/fp-testing.h"
#include "flang/Testing/testing.h"
diff --git a/flang/unittests/Evaluate/uint128.cpp b/flang/unittests/Evaluate/uint128.cpp
index 0b749abe1c080a..e8c228509f6fa8 100644
--- a/flang/unittests/Evaluate/uint128.cpp
+++ b/flang/unittests/Evaluate/uint128.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Evaluate/uint128.cpp ------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
#define AVOID_NATIVE_UINT128_T 1
#include "flang/Common/uint128.h"
#include "flang/Testing/testing.h"
diff --git a/flang/unittests/Optimizer/Builder/ComplexTest.cpp b/flang/unittests/Optimizer/Builder/ComplexTest.cpp
index 668befd8c096ee..c3b3582b6fda35 100644
--- a/flang/unittests/Optimizer/Builder/ComplexTest.cpp
+++ b/flang/unittests/Optimizer/Builder/ComplexTest.cpp
@@ -1,4 +1,4 @@
-//===- ComplexExprTest.cpp -- ComplexExpr unit tests ----------===//
+//===- ComplexTest.cpp -- ComplexExpr unit tests --------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp b/flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
index 1440a5fd01c2b1..67f8a5bdb7bc3d 100644
--- a/flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
+++ b/flang/unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp
@@ -1,3 +1,11 @@
+//===-- unittests/Optimizer/Builder/Runtime/IntrinsicsTest.cpp ------------===//
+//
+// 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 "flang/Optimizer/Builder/Runtime/Intrinsics.h"
#include "RuntimeCallTestBase.h"
#include "gtest/gtest.h"
diff --git a/flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp b/flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp
index fe439bb400e790..629baa8179405a 100644
--- a/flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp
+++ b/flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp
@@ -1,4 +1,4 @@
-//===- StopTest.cpp -- Stop runtime builder unit tests ---------===//
+//===- StopTest.cpp -- Stop runtime builder unit tests --------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
diff --git a/flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp b/flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp
index 4b74e26b34816e..9ed430f2172f33 100644
--- a/flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp
+++ b/flang/unittests/Optimizer/OpenACC/FIROpenACCSupportAnalysisTest.cpp
@@ -1,4 +1,4 @@
-//===- FIROpenACCSupportAnalysisTest.cpp --------------------------------===//
+//===- FIROpenACCSupportAnalysisTest.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
More information about the flang-commits
mailing list