aboutsummaryrefslogtreecommitdiff
path: root/flang/lib
diff options
context:
space:
mode:
authorCarolineConcatto <51754594+CarolineConcatto@users.noreply.github.com>2020-02-25 15:11:52 +0000
committerGitHub <noreply@github.com>2020-02-25 07:11:52 -0800
commit64ab3302d5a130c00b66a6957b2e7f0c9b9c537d (patch)
tree7658afe96fac3d6dabd9c6aa2b471294c3ddfa7c /flang/lib
parent456a61d188e9cdf43bd44e28e11708773d838798 (diff)
downloadllvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.zip
llvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.tar.gz
llvm-64ab3302d5a130c00b66a6957b2e7f0c9b9c537d.tar.bz2
[flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980)
This patch renames the modules in f18 to use a capital letter in the module name Signed-off-by: Caroline Concatto <caroline.concatto@arm.com> Original-commit: flang-compiler/f18@d2eb7a1c443d1539ef12b6f027074a0eb15b1ea0 Reviewed-on: https://github.com/flang-compiler/f18/pull/980
Diffstat (limited to 'flang/lib')
-rw-r--r--flang/lib/CMakeLists.txt12
-rw-r--r--flang/lib/Common/CMakeLists.txt (renamed from flang/lib/common/CMakeLists.txt)2
-rw-r--r--flang/lib/Common/Fortran-features.cpp (renamed from flang/lib/common/Fortran-features.cpp)8
-rw-r--r--flang/lib/Common/Fortran.cpp (renamed from flang/lib/common/Fortran.cpp)4
-rw-r--r--flang/lib/Common/default-kinds.cpp (renamed from flang/lib/common/default-kinds.cpp)6
-rw-r--r--flang/lib/Common/idioms.cpp (renamed from flang/lib/common/idioms.cpp)4
-rw-r--r--flang/lib/Decimal/CMakeLists.txt (renamed from flang/lib/decimal/CMakeLists.txt)2
-rw-r--r--flang/lib/Decimal/big-radix-floating-point.h (renamed from flang/lib/decimal/big-radix-floating-point.h)14
-rw-r--r--flang/lib/Decimal/binary-to-decimal.cpp (renamed from flang/lib/decimal/binary-to-decimal.cpp)4
-rw-r--r--flang/lib/Decimal/decimal-to-binary.cpp (renamed from flang/lib/decimal/decimal-to-binary.cpp)10
-rw-r--r--flang/lib/Evaluate/CMakeLists.txt (renamed from flang/lib/evaluate/CMakeLists.txt)2
-rw-r--r--flang/lib/Evaluate/call.cpp (renamed from flang/lib/evaluate/call.cpp)14
-rw-r--r--flang/lib/Evaluate/character.h (renamed from flang/lib/evaluate/character.h)4
-rw-r--r--flang/lib/Evaluate/characteristics.cpp (renamed from flang/lib/evaluate/characteristics.cpp)22
-rw-r--r--flang/lib/Evaluate/check-expression.cpp (renamed from flang/lib/evaluate/check-expression.cpp)12
-rw-r--r--flang/lib/Evaluate/common.cpp (renamed from flang/lib/evaluate/common.cpp)6
-rw-r--r--flang/lib/Evaluate/complex.cpp (renamed from flang/lib/evaluate/complex.cpp)4
-rw-r--r--flang/lib/Evaluate/constant.cpp (renamed from flang/lib/evaluate/constant.cpp)10
-rw-r--r--flang/lib/Evaluate/expression.cpp (renamed from flang/lib/evaluate/expression.cpp)14
-rw-r--r--flang/lib/Evaluate/fold-character.cpp (renamed from flang/lib/evaluate/fold-character.cpp)2
-rw-r--r--flang/lib/Evaluate/fold-complex.cpp (renamed from flang/lib/evaluate/fold-complex.cpp)2
-rw-r--r--flang/lib/Evaluate/fold-implementation.h (renamed from flang/lib/evaluate/fold-implementation.h)36
-rw-r--r--flang/lib/Evaluate/fold-integer.cpp (renamed from flang/lib/evaluate/fold-integer.cpp)2
-rw-r--r--flang/lib/Evaluate/fold-logical.cpp (renamed from flang/lib/evaluate/fold-logical.cpp)4
-rw-r--r--flang/lib/Evaluate/fold-real.cpp (renamed from flang/lib/evaluate/fold-real.cpp)2
-rw-r--r--flang/lib/Evaluate/fold.cpp (renamed from flang/lib/evaluate/fold.cpp)4
-rw-r--r--flang/lib/Evaluate/formatting.cpp (renamed from flang/lib/evaluate/formatting.cpp)18
-rw-r--r--flang/lib/Evaluate/host.cpp (renamed from flang/lib/evaluate/host.cpp)4
-rw-r--r--flang/lib/Evaluate/host.h (renamed from flang/lib/evaluate/host.h)4
-rw-r--r--flang/lib/Evaluate/int-power.h (renamed from flang/lib/evaluate/int-power.h)4
-rw-r--r--flang/lib/Evaluate/integer.cpp (renamed from flang/lib/evaluate/integer.cpp)4
-rw-r--r--flang/lib/Evaluate/intrinsics-library-templates.h (renamed from flang/lib/evaluate/intrinsics-library-templates.h)8
-rw-r--r--flang/lib/Evaluate/intrinsics-library.cpp (renamed from flang/lib/evaluate/intrinsics-library.cpp)2
-rw-r--r--flang/lib/Evaluate/intrinsics.cpp (renamed from flang/lib/evaluate/intrinsics.cpp)22
-rw-r--r--flang/lib/Evaluate/logical.cpp (renamed from flang/lib/evaluate/logical.cpp)4
-rw-r--r--flang/lib/Evaluate/real.cpp (renamed from flang/lib/evaluate/real.cpp)10
-rw-r--r--flang/lib/Evaluate/shape.cpp (renamed from flang/lib/evaluate/shape.cpp)22
-rw-r--r--flang/lib/Evaluate/static-data.cpp (renamed from flang/lib/evaluate/static-data.cpp)6
-rw-r--r--flang/lib/Evaluate/tools.cpp (renamed from flang/lib/evaluate/tools.cpp)12
-rw-r--r--flang/lib/Evaluate/type.cpp (renamed from flang/lib/evaluate/type.cpp)22
-rw-r--r--flang/lib/Evaluate/variable.cpp (renamed from flang/lib/evaluate/variable.cpp)18
-rw-r--r--flang/lib/Fir/.clang-format (renamed from flang/lib/fir/.clang-format)0
-rw-r--r--flang/lib/Lower/.clang-format (renamed from flang/lib/lower/.clang-format)0
-rw-r--r--flang/lib/Lower/CMakeLists.txt (renamed from flang/lib/lower/CMakeLists.txt)0
-rw-r--r--flang/lib/Lower/PFTBuilder.cpp (renamed from flang/lib/lower/PFTBuilder.cpp)8
-rw-r--r--flang/lib/Optimizer/.clang-format (renamed from flang/lib/optimizer/.clang-format)0
-rw-r--r--flang/lib/Parser/CMakeLists.txt (renamed from flang/lib/parser/CMakeLists.txt)2
-rw-r--r--flang/lib/Parser/Fortran-parsers.cpp (renamed from flang/lib/parser/Fortran-parsers.cpp)6
-rw-r--r--flang/lib/Parser/basic-parsers.h (renamed from flang/lib/parser/basic-parsers.h)18
-rw-r--r--flang/lib/Parser/char-block.cpp (renamed from flang/lib/parser/char-block.cpp)4
-rw-r--r--flang/lib/Parser/char-buffer.cpp (renamed from flang/lib/parser/char-buffer.cpp)6
-rw-r--r--flang/lib/Parser/char-set.cpp (renamed from flang/lib/parser/char-set.cpp)4
-rw-r--r--flang/lib/Parser/characters.cpp (renamed from flang/lib/parser/characters.cpp)6
-rw-r--r--flang/lib/Parser/debug-parser.cpp (renamed from flang/lib/parser/debug-parser.cpp)4
-rw-r--r--flang/lib/Parser/debug-parser.h (renamed from flang/lib/parser/debug-parser.h)4
-rw-r--r--flang/lib/Parser/executable-parsers.cpp (renamed from flang/lib/parser/executable-parsers.cpp)6
-rw-r--r--flang/lib/Parser/expr-parsers.cpp (renamed from flang/lib/parser/expr-parsers.cpp)6
-rw-r--r--flang/lib/Parser/expr-parsers.h (renamed from flang/lib/parser/expr-parsers.h)4
-rw-r--r--flang/lib/Parser/instrumented-parser.cpp (renamed from flang/lib/parser/instrumented-parser.cpp)8
-rw-r--r--flang/lib/Parser/io-parsers.cpp (renamed from flang/lib/parser/io-parsers.cpp)6
-rw-r--r--flang/lib/Parser/message.cpp (renamed from flang/lib/parser/message.cpp)8
-rw-r--r--flang/lib/Parser/misc-parsers.h (renamed from flang/lib/parser/misc-parsers.h)6
-rw-r--r--flang/lib/Parser/openmp-parsers.cpp (renamed from flang/lib/parser/openmp-parsers.cpp)4
-rw-r--r--flang/lib/Parser/parse-tree.cpp (renamed from flang/lib/parser/parse-tree.cpp)10
-rw-r--r--flang/lib/Parser/parsing.cpp (renamed from flang/lib/parser/parsing.cpp)10
-rw-r--r--flang/lib/Parser/preprocessor.cpp (renamed from flang/lib/parser/preprocessor.cpp)8
-rw-r--r--flang/lib/Parser/preprocessor.h (renamed from flang/lib/parser/preprocessor.h)6
-rw-r--r--flang/lib/Parser/prescan.cpp (renamed from flang/lib/parser/prescan.cpp)10
-rw-r--r--flang/lib/Parser/prescan.h (renamed from flang/lib/parser/prescan.h)10
-rw-r--r--flang/lib/Parser/program-parsers.cpp (renamed from flang/lib/parser/program-parsers.cpp)6
-rw-r--r--flang/lib/Parser/provenance.cpp (renamed from flang/lib/parser/provenance.cpp)6
-rw-r--r--flang/lib/Parser/source.cpp (renamed from flang/lib/parser/source.cpp)8
-rw-r--r--flang/lib/Parser/stmt-parser.h (renamed from flang/lib/parser/stmt-parser.h)2
-rw-r--r--flang/lib/Parser/token-parsers.h (renamed from flang/lib/parser/token-parsers.h)12
-rw-r--r--flang/lib/Parser/token-sequence.cpp (renamed from flang/lib/parser/token-sequence.cpp)4
-rw-r--r--flang/lib/Parser/token-sequence.h (renamed from flang/lib/parser/token-sequence.h)6
-rw-r--r--flang/lib/Parser/tools.cpp (renamed from flang/lib/parser/tools.cpp)4
-rw-r--r--flang/lib/Parser/type-parser-implementation.h (renamed from flang/lib/parser/type-parser-implementation.h)2
-rw-r--r--flang/lib/Parser/type-parsers.h (renamed from flang/lib/parser/type-parsers.h)6
-rw-r--r--flang/lib/Parser/unparse.cpp (renamed from flang/lib/parser/unparse.cpp)16
-rw-r--r--flang/lib/Parser/user-state.cpp (renamed from flang/lib/parser/user-state.cpp)6
-rw-r--r--flang/lib/Semantics/CMakeLists.txt (renamed from flang/lib/semantics/CMakeLists.txt)2
-rw-r--r--flang/lib/Semantics/assignment.cpp (renamed from flang/lib/semantics/assignment.cpp)26
-rw-r--r--flang/lib/Semantics/assignment.h (renamed from flang/lib/semantics/assignment.h)8
-rw-r--r--flang/lib/Semantics/attr.cpp (renamed from flang/lib/semantics/attr.cpp)6
-rw-r--r--flang/lib/Semantics/canonicalize-do.cpp (renamed from flang/lib/semantics/canonicalize-do.cpp)4
-rw-r--r--flang/lib/Semantics/canonicalize-do.h (renamed from flang/lib/semantics/canonicalize-do.h)2
-rw-r--r--flang/lib/Semantics/canonicalize-omp.cpp (renamed from flang/lib/semantics/canonicalize-omp.cpp)4
-rw-r--r--flang/lib/Semantics/canonicalize-omp.h (renamed from flang/lib/semantics/canonicalize-omp.h)2
-rw-r--r--flang/lib/Semantics/check-allocate.cpp (renamed from flang/lib/semantics/check-allocate.cpp)18
-rw-r--r--flang/lib/Semantics/check-allocate.h (renamed from flang/lib/semantics/check-allocate.h)4
-rw-r--r--flang/lib/Semantics/check-arithmeticif.cpp (renamed from flang/lib/semantics/check-arithmeticif.cpp)8
-rw-r--r--flang/lib/Semantics/check-arithmeticif.h (renamed from flang/lib/semantics/check-arithmeticif.h)4
-rw-r--r--flang/lib/Semantics/check-call.cpp (renamed from flang/lib/semantics/check-call.cpp)18
-rw-r--r--flang/lib/Semantics/check-call.h (renamed from flang/lib/semantics/check-call.h)4
-rw-r--r--flang/lib/Semantics/check-coarray.cpp (renamed from flang/lib/semantics/check-coarray.cpp)16
-rw-r--r--flang/lib/Semantics/check-coarray.h (renamed from flang/lib/semantics/check-coarray.h)4
-rw-r--r--flang/lib/Semantics/check-data.cpp (renamed from flang/lib/semantics/check-data.cpp)2
-rw-r--r--flang/lib/Semantics/check-data.h (renamed from flang/lib/semantics/check-data.h)10
-rw-r--r--flang/lib/Semantics/check-deallocate.cpp (renamed from flang/lib/semantics/check-deallocate.cpp)10
-rw-r--r--flang/lib/Semantics/check-deallocate.h (renamed from flang/lib/semantics/check-deallocate.h)4
-rw-r--r--flang/lib/Semantics/check-declarations.cpp (renamed from flang/lib/semantics/check-declarations.cpp)18
-rw-r--r--flang/lib/Semantics/check-declarations.h (renamed from flang/lib/semantics/check-declarations.h)2
-rw-r--r--flang/lib/Semantics/check-do-forall.cpp (renamed from flang/lib/semantics/check-do-forall.cpp)28
-rw-r--r--flang/lib/Semantics/check-do-forall.h (renamed from flang/lib/semantics/check-do-forall.h)6
-rw-r--r--flang/lib/Semantics/check-if-stmt.cpp (renamed from flang/lib/semantics/check-if-stmt.cpp)8
-rw-r--r--flang/lib/Semantics/check-if-stmt.h (renamed from flang/lib/semantics/check-if-stmt.h)4
-rw-r--r--flang/lib/Semantics/check-io.cpp (renamed from flang/lib/semantics/check-io.cpp)10
-rw-r--r--flang/lib/Semantics/check-io.h (renamed from flang/lib/semantics/check-io.h)10
-rw-r--r--flang/lib/Semantics/check-nullify.cpp (renamed from flang/lib/semantics/check-nullify.cpp)12
-rw-r--r--flang/lib/Semantics/check-nullify.h (renamed from flang/lib/semantics/check-nullify.h)4
-rw-r--r--flang/lib/Semantics/check-omp-structure.cpp (renamed from flang/lib/semantics/check-omp-structure.cpp)6
-rw-r--r--flang/lib/Semantics/check-omp-structure.h (renamed from flang/lib/semantics/check-omp-structure.h)8
-rw-r--r--flang/lib/Semantics/check-purity.cpp (renamed from flang/lib/semantics/check-purity.cpp)6
-rw-r--r--flang/lib/Semantics/check-purity.h (renamed from flang/lib/semantics/check-purity.h)4
-rw-r--r--flang/lib/Semantics/check-return.cpp (renamed from flang/lib/semantics/check-return.cpp)12
-rw-r--r--flang/lib/Semantics/check-return.h (renamed from flang/lib/semantics/check-return.h)4
-rw-r--r--flang/lib/Semantics/check-stop.cpp (renamed from flang/lib/semantics/check-stop.cpp)12
-rw-r--r--flang/lib/Semantics/check-stop.h (renamed from flang/lib/semantics/check-stop.h)4
-rw-r--r--flang/lib/Semantics/expression.cpp (renamed from flang/lib/semantics/expression.cpp)30
-rw-r--r--flang/lib/Semantics/mod-file.cpp (renamed from flang/lib/semantics/mod-file.cpp)16
-rw-r--r--flang/lib/Semantics/mod-file.h (renamed from flang/lib/semantics/mod-file.h)4
-rw-r--r--flang/lib/Semantics/pointer-assignment.cpp (renamed from flang/lib/semantics/pointer-assignment.cpp)26
-rw-r--r--flang/lib/Semantics/pointer-assignment.h (renamed from flang/lib/semantics/pointer-assignment.h)8
-rw-r--r--flang/lib/Semantics/program-tree.cpp (renamed from flang/lib/semantics/program-tree.cpp)8
-rw-r--r--flang/lib/Semantics/program-tree.h (renamed from flang/lib/semantics/program-tree.h)6
-rw-r--r--flang/lib/Semantics/resolve-labels.cpp (renamed from flang/lib/semantics/resolve-labels.cpp)10
-rw-r--r--flang/lib/Semantics/resolve-labels.h (renamed from flang/lib/semantics/resolve-labels.h)2
-rw-r--r--flang/lib/Semantics/resolve-names-utils.cpp (renamed from flang/lib/semantics/resolve-names-utils.cpp)24
-rw-r--r--flang/lib/Semantics/resolve-names-utils.h (renamed from flang/lib/semantics/resolve-names-utils.h)10
-rw-r--r--flang/lib/Semantics/resolve-names.cpp (renamed from flang/lib/semantics/resolve-names.cpp)42
-rw-r--r--flang/lib/Semantics/resolve-names.h (renamed from flang/lib/semantics/resolve-names.h)2
-rw-r--r--flang/lib/Semantics/rewrite-parse-tree.cpp (renamed from flang/lib/semantics/rewrite-parse-tree.cpp)18
-rw-r--r--flang/lib/Semantics/rewrite-parse-tree.h (renamed from flang/lib/semantics/rewrite-parse-tree.h)2
-rw-r--r--flang/lib/Semantics/scope.cpp (renamed from flang/lib/semantics/scope.cpp)10
-rw-r--r--flang/lib/Semantics/semantics.cpp (renamed from flang/lib/semantics/semantics.cpp)16
-rw-r--r--flang/lib/Semantics/symbol.cpp (renamed from flang/lib/semantics/symbol.cpp)14
-rw-r--r--flang/lib/Semantics/tools.cpp (renamed from flang/lib/semantics/tools.cpp)24
-rw-r--r--flang/lib/Semantics/type.cpp (renamed from flang/lib/semantics/type.cpp)14
-rw-r--r--flang/lib/Semantics/unparse-with-symbols.cpp (renamed from flang/lib/semantics/unparse-with-symbols.cpp)12
140 files changed, 610 insertions, 610 deletions
diff --git a/flang/lib/CMakeLists.txt b/flang/lib/CMakeLists.txt
index 35c3e13..fae2eed 100644
--- a/flang/lib/CMakeLists.txt
+++ b/flang/lib/CMakeLists.txt
@@ -6,9 +6,9 @@
#
#===------------------------------------------------------------------------===#
-add_subdirectory(common)
-add_subdirectory(evaluate)
-add_subdirectory(decimal)
-add_subdirectory(lower)
-add_subdirectory(parser)
-add_subdirectory(semantics)
+add_subdirectory(Common)
+add_subdirectory(Evaluate)
+add_subdirectory(Decimal)
+add_subdirectory(Lower)
+add_subdirectory(Parser)
+add_subdirectory(Semantics)
diff --git a/flang/lib/common/CMakeLists.txt b/flang/lib/Common/CMakeLists.txt
index bfa8bf7..acbe9d1 100644
--- a/flang/lib/common/CMakeLists.txt
+++ b/flang/lib/Common/CMakeLists.txt
@@ -1,4 +1,4 @@
-#===-- lib/common/CMakeLists.txt -------------------------------------------===#
+#===-- lib/Common/CMakeLists.txt -------------------------------------------===#
#
# 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/common/Fortran-features.cpp b/flang/lib/Common/Fortran-features.cpp
index 62c3e50..a9e0339 100644
--- a/flang/lib/common/Fortran-features.cpp
+++ b/flang/lib/Common/Fortran-features.cpp
@@ -1,4 +1,4 @@
-//===-- lib/common/Fortran-features.cpp -----------------------------------===//
+//===-- lib/Common/Fortran-features.cpp -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/common/Fortran-features.h"
-#include "flang/common/Fortran.h"
-#include "flang/common/idioms.h"
+#include "flang/Common/Fortran-features.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Common/idioms.h"
namespace Fortran::common {
diff --git a/flang/lib/common/Fortran.cpp b/flang/lib/Common/Fortran.cpp
index 61ff0ee..d65a17e 100644
--- a/flang/lib/common/Fortran.cpp
+++ b/flang/lib/Common/Fortran.cpp
@@ -1,4 +1,4 @@
-//===-- lib/common/Fortran.cpp --------------------------------------------===//
+//===-- lib/Common/Fortran.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/common/Fortran.h"
+#include "flang/Common/Fortran.h"
namespace Fortran::common {
diff --git a/flang/lib/common/default-kinds.cpp b/flang/lib/Common/default-kinds.cpp
index 490f4dc..8470cfc 100644
--- a/flang/lib/common/default-kinds.cpp
+++ b/flang/lib/Common/default-kinds.cpp
@@ -1,4 +1,4 @@
-//===-- lib/common/default-kinds.cpp --------------------------------------===//
+//===-- lib/Common/default-kinds.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/common/default-kinds.h"
-#include "flang/common/idioms.h"
+#include "flang/Common/default-kinds.h"
+#include "flang/Common/idioms.h"
namespace Fortran::common {
diff --git a/flang/lib/common/idioms.cpp b/flang/lib/Common/idioms.cpp
index d28d76f..229e1c0 100644
--- a/flang/lib/common/idioms.cpp
+++ b/flang/lib/Common/idioms.cpp
@@ -1,4 +1,4 @@
-//===-- lib/common/idioms.cpp ---------------------------------------------===//
+//===-- lib/Common/idioms.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/common/idioms.h"
+#include "flang/Common/idioms.h"
#include <cstdarg>
#include <cstdio>
#include <cstdlib>
diff --git a/flang/lib/decimal/CMakeLists.txt b/flang/lib/Decimal/CMakeLists.txt
index 28c9c82..5454218 100644
--- a/flang/lib/decimal/CMakeLists.txt
+++ b/flang/lib/Decimal/CMakeLists.txt
@@ -1,4 +1,4 @@
-#===-- lib/decimal/CMakeLists.txt ------------------------------------------===#
+#===-- lib/Decimal/CMakeLists.txt ------------------------------------------===#
#
# 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/decimal/big-radix-floating-point.h b/flang/lib/Decimal/big-radix-floating-point.h
index 35f0a2e..4af217a 100644
--- a/flang/lib/decimal/big-radix-floating-point.h
+++ b/flang/lib/Decimal/big-radix-floating-point.h
@@ -1,4 +1,4 @@
-//===-- lib/decimal/big-radix-floating-point.h ------------------*- C++ -*-===//
+//===-- lib/Decimal/big-radix-floating-point.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.
@@ -21,12 +21,12 @@
// for conversions between binary and decimal representations; it is not
// a general-purpose facility.
-#include "flang/common/bit-population-count.h"
-#include "flang/common/leading-zero-bit-count.h"
-#include "flang/common/uint128.h"
-#include "flang/common/unsigned-const-division.h"
-#include "flang/decimal/binary-floating-point.h"
-#include "flang/decimal/decimal.h"
+#include "flang/Common/bit-population-count.h"
+#include "flang/Common/leading-zero-bit-count.h"
+#include "flang/Common/uint128.h"
+#include "flang/Common/unsigned-const-division.h"
+#include "flang/Decimal/binary-floating-point.h"
+#include "flang/Decimal/decimal.h"
#include <cinttypes>
#include <limits>
#include <type_traits>
diff --git a/flang/lib/decimal/binary-to-decimal.cpp b/flang/lib/Decimal/binary-to-decimal.cpp
index f4b6440..416d850 100644
--- a/flang/lib/decimal/binary-to-decimal.cpp
+++ b/flang/lib/Decimal/binary-to-decimal.cpp
@@ -1,4 +1,4 @@
-//===-- lib/decimal/binary-to-decimal.cpp ---------------------------------===//
+//===-- lib/Decimal/binary-to-decimal.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "big-radix-floating-point.h"
-#include "flang/decimal/decimal.h"
+#include "flang/Decimal/decimal.h"
namespace Fortran::decimal {
diff --git a/flang/lib/decimal/decimal-to-binary.cpp b/flang/lib/Decimal/decimal-to-binary.cpp
index f71ca94..7deec9f 100644
--- a/flang/lib/decimal/decimal-to-binary.cpp
+++ b/flang/lib/Decimal/decimal-to-binary.cpp
@@ -1,4 +1,4 @@
-//===-- lib/decimal/decimal-to-binary.cpp ---------------------------------===//
+//===-- lib/Decimal/decimal-to-binary.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//
#include "big-radix-floating-point.h"
-#include "flang/common/bit-population-count.h"
-#include "flang/common/leading-zero-bit-count.h"
-#include "flang/decimal/binary-floating-point.h"
-#include "flang/decimal/decimal.h"
+#include "flang/Common/bit-population-count.h"
+#include "flang/Common/leading-zero-bit-count.h"
+#include "flang/Decimal/binary-floating-point.h"
+#include "flang/Decimal/decimal.h"
#include <cinttypes>
#include <cstring>
#include <ctype.h>
diff --git a/flang/lib/evaluate/CMakeLists.txt b/flang/lib/Evaluate/CMakeLists.txt
index 8714819..8da75ed 100644
--- a/flang/lib/evaluate/CMakeLists.txt
+++ b/flang/lib/Evaluate/CMakeLists.txt
@@ -1,4 +1,4 @@
-#===-- lib/evaluate/CMakeLists.txt -----------------------------------------===#
+#===-- lib/Evaluate/CMakeLists.txt -----------------------------------------===#
#
# 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/evaluate/call.cpp b/flang/lib/Evaluate/call.cpp
index d1272af..52c16f2 100644
--- a/flang/lib/evaluate/call.cpp
+++ b/flang/lib/Evaluate/call.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/call.cpp ---------------------------------------------===//
+//===-- lib/Evaluate/call.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,12 +6,12 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/call.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/tools.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Evaluate/call.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Semantics/symbol.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/character.h b/flang/lib/Evaluate/character.h
index be1303e..ef43a2b3 100644
--- a/flang/lib/evaluate/character.h
+++ b/flang/lib/Evaluate/character.h
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/character.h --------------------------------*- C++ -*-===//
+//===-- lib/Evaluate/character.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_EVALUATE_CHARACTER_H_
#define FORTRAN_EVALUATE_CHARACTER_H_
-#include "flang/evaluate/type.h"
+#include "flang/Evaluate/type.h"
#include <string>
// Provides implementations of intrinsic functions operating on character
diff --git a/flang/lib/evaluate/characteristics.cpp b/flang/lib/Evaluate/characteristics.cpp
index 3197c46..dffcf32 100644
--- a/flang/lib/evaluate/characteristics.cpp
+++ b/flang/lib/Evaluate/characteristics.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/characteristics.cpp ----------------------------------===//
+//===-- lib/Evaluate/characteristics.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,16 +6,16 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/characteristics.h"
-#include "flang/common/indirection.h"
-#include "flang/evaluate/check-expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/intrinsics.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/message.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Common/indirection.h"
+#include "flang/Evaluate/check-expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/intrinsics.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
#include <initializer_list>
#include <ostream>
diff --git a/flang/lib/evaluate/check-expression.cpp b/flang/lib/Evaluate/check-expression.cpp
index b809211..fede3ae 100644
--- a/flang/lib/evaluate/check-expression.cpp
+++ b/flang/lib/Evaluate/check-expression.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/check-expression.cpp ---------------------------------===//
+//===-- lib/Evaluate/check-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.
@@ -6,11 +6,11 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/check-expression.h"
-#include "flang/evaluate/traverse.h"
-#include "flang/evaluate/type.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Evaluate/check-expression.h"
+#include "flang/Evaluate/traverse.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/common.cpp b/flang/lib/Evaluate/common.cpp
index 9c45e66..92f7403 100644
--- a/flang/lib/evaluate/common.cpp
+++ b/flang/lib/Evaluate/common.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/common.cpp -------------------------------------------===//
+//===-- lib/Evaluate/common.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/common.h"
-#include "flang/common/idioms.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Common/idioms.h"
using namespace Fortran::parser::literals;
diff --git a/flang/lib/evaluate/complex.cpp b/flang/lib/Evaluate/complex.cpp
index a2dca42..8f03304 100644
--- a/flang/lib/evaluate/complex.cpp
+++ b/flang/lib/Evaluate/complex.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/complex.cpp ------------------------------------------===//
+//===-- lib/Evaluate/complex.cpp ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/complex.h"
+#include "flang/Evaluate/complex.h"
namespace Fortran::evaluate::value {
diff --git a/flang/lib/evaluate/constant.cpp b/flang/lib/Evaluate/constant.cpp
index 65da137..0d6a780 100644
--- a/flang/lib/evaluate/constant.cpp
+++ b/flang/lib/Evaluate/constant.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/constant.cpp -----------------------------------------===//
+//===-- lib/Evaluate/constant.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,10 +6,10 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/constant.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/shape.h"
-#include "flang/evaluate/type.h"
+#include "flang/Evaluate/constant.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/shape.h"
+#include "flang/Evaluate/type.h"
#include <string>
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/expression.cpp b/flang/lib/Evaluate/expression.cpp
index c805996..a390c9e 100644
--- a/flang/lib/evaluate/expression.cpp
+++ b/flang/lib/Evaluate/expression.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/expression.cpp ---------------------------------------===//
+//===-- lib/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.
@@ -6,13 +6,13 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/expression.h"
+#include "flang/Evaluate/expression.h"
#include "int-power.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/common.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/variable.h"
-#include "flang/parser/message.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/variable.h"
+#include "flang/Parser/message.h"
#include <string>
#include <type_traits>
diff --git a/flang/lib/evaluate/fold-character.cpp b/flang/lib/Evaluate/fold-character.cpp
index 0c99b96..7398a1b 100644
--- a/flang/lib/evaluate/fold-character.cpp
+++ b/flang/lib/Evaluate/fold-character.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-character.cpp -----------------------------------===//
+//===-- lib/Evaluate/fold-character.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/evaluate/fold-complex.cpp b/flang/lib/Evaluate/fold-complex.cpp
index d4c5f00..f2006da 100644
--- a/flang/lib/evaluate/fold-complex.cpp
+++ b/flang/lib/Evaluate/fold-complex.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-complex.cpp -------------------------------------===//
+//===-- lib/Evaluate/fold-complex.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/evaluate/fold-implementation.h b/flang/lib/Evaluate/fold-implementation.h
index fdb85df..67e541e12 100644
--- a/flang/lib/evaluate/fold-implementation.h
+++ b/flang/lib/Evaluate/fold-implementation.h
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-implementation.h --------------------------------===//
+//===-- lib/Evaluate/fold-implementation.h --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -13,23 +13,23 @@
#include "host.h"
#include "int-power.h"
#include "intrinsics-library-templates.h"
-#include "flang/common/indirection.h"
-#include "flang/common/template.h"
-#include "flang/common/unwrap.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/common.h"
-#include "flang/evaluate/constant.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/formatting.h"
-#include "flang/evaluate/shape.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/traverse.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/message.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/indirection.h"
+#include "flang/Common/template.h"
+#include "flang/Common/unwrap.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Evaluate/constant.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/formatting.h"
+#include "flang/Evaluate/shape.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/traverse.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <algorithm>
#include <cmath>
#include <complex>
diff --git a/flang/lib/evaluate/fold-integer.cpp b/flang/lib/Evaluate/fold-integer.cpp
index cda0a39..1e1e06a 100644
--- a/flang/lib/evaluate/fold-integer.cpp
+++ b/flang/lib/Evaluate/fold-integer.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-integer.cpp -------------------------------------===//
+//===-- lib/Evaluate/fold-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.
diff --git a/flang/lib/evaluate/fold-logical.cpp b/flang/lib/Evaluate/fold-logical.cpp
index cf1bb9a..ebffbb2 100644
--- a/flang/lib/evaluate/fold-logical.cpp
+++ b/flang/lib/Evaluate/fold-logical.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-logical.cpp -------------------------------------===//
+//===-- lib/Evaluate/fold-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.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "fold-implementation.h"
-#include "flang/evaluate/check-expression.h"
+#include "flang/Evaluate/check-expression.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/fold-real.cpp b/flang/lib/Evaluate/fold-real.cpp
index b1d3ed3..1a0d1d2 100644
--- a/flang/lib/evaluate/fold-real.cpp
+++ b/flang/lib/Evaluate/fold-real.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold-real.cpp ----------------------------------------===//
+//===-- lib/Evaluate/fold-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.
diff --git a/flang/lib/evaluate/fold.cpp b/flang/lib/Evaluate/fold.cpp
index 4a7263f..3ec4a2e 100644
--- a/flang/lib/evaluate/fold.cpp
+++ b/flang/lib/Evaluate/fold.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/fold.cpp ---------------------------------------------===//
+//===-- lib/Evaluate/fold.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/fold.h"
+#include "flang/Evaluate/fold.h"
#include "fold-implementation.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/formatting.cpp b/flang/lib/Evaluate/formatting.cpp
index 5bc62774..0b397c9 100644
--- a/flang/lib/evaluate/formatting.cpp
+++ b/flang/lib/Evaluate/formatting.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/formatting.cpp ---------------------------------------===//
+//===-- lib/Evaluate/formatting.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,14 +6,14 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/formatting.h"
-#include "flang/evaluate/call.h"
-#include "flang/evaluate/constant.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/characters.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Evaluate/formatting.h"
+#include "flang/Evaluate/call.h"
+#include "flang/Evaluate/constant.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/characters.h"
+#include "flang/Semantics/symbol.h"
#include <sstream>
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/host.cpp b/flang/lib/Evaluate/host.cpp
index 47685e0..c9f4878 100644
--- a/flang/lib/evaluate/host.cpp
+++ b/flang/lib/Evaluate/host.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/host.cpp ---------------------------------------------===//
+//===-- lib/Evaluate/host.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,7 +8,7 @@
#include "host.h"
-#include "flang/common/idioms.h"
+#include "flang/Common/idioms.h"
#include <cerrno>
#include <cfenv>
diff --git a/flang/lib/evaluate/host.h b/flang/lib/Evaluate/host.h
index f2d8c1d..cb7d580 100644
--- a/flang/lib/evaluate/host.h
+++ b/flang/lib/Evaluate/host.h
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/host.h -------------------------------------*- C++ -*-===//
+//===-- lib/Evaluate/host.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.
@@ -17,7 +17,7 @@
// hardware type maps to Fortran intrinsic type T. Then HostType<T> can be used
// to safely refer to this hardware type.
-#include "flang/evaluate/type.h"
+#include "flang/Evaluate/type.h"
#include <cfenv>
#include <complex>
#include <cstdint>
diff --git a/flang/lib/evaluate/int-power.h b/flang/lib/Evaluate/int-power.h
index 6a6fe83..5ab16cd 100644
--- a/flang/lib/evaluate/int-power.h
+++ b/flang/lib/Evaluate/int-power.h
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/int-power.h --------------------------------*- C++ -*-===//
+//===-- lib/Evaluate/int-power.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.
@@ -11,7 +11,7 @@
// Computes an integer power of a real or complex value.
-#include "flang/evaluate/common.h"
+#include "flang/Evaluate/common.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/integer.cpp b/flang/lib/Evaluate/integer.cpp
index 06503e6..074bee7 100644
--- a/flang/lib/evaluate/integer.cpp
+++ b/flang/lib/Evaluate/integer.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/integer.cpp ------------------------------------------===//
+//===-- lib/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.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/integer.h"
+#include "flang/Evaluate/integer.h"
namespace Fortran::evaluate::value {
diff --git a/flang/lib/evaluate/intrinsics-library-templates.h b/flang/lib/Evaluate/intrinsics-library-templates.h
index 65d3de7..268a507 100644
--- a/flang/lib/evaluate/intrinsics-library-templates.h
+++ b/flang/lib/Evaluate/intrinsics-library-templates.h
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/intrinsics-library-templates.h -------------*- C++ -*-===//
+//===-- lib/Evaluate/intrinsics-library-templates.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.
@@ -17,9 +17,9 @@
// which version should be instantiated in a generic way.
#include "host.h"
-#include "flang/common/template.h"
-#include "flang/evaluate/intrinsics-library.h"
-#include "flang/evaluate/type.h"
+#include "flang/Common/template.h"
+#include "flang/Evaluate/intrinsics-library.h"
+#include "flang/Evaluate/type.h"
#include <tuple>
#include <type_traits>
diff --git a/flang/lib/evaluate/intrinsics-library.cpp b/flang/lib/Evaluate/intrinsics-library.cpp
index bfddcb3..9636179 100644
--- a/flang/lib/evaluate/intrinsics-library.cpp
+++ b/flang/lib/Evaluate/intrinsics-library.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/intrinsics-library.cpp -------------------------------===//
+//===-- lib/Evaluate/intrinsics-library.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/evaluate/intrinsics.cpp b/flang/lib/Evaluate/intrinsics.cpp
index 93b2f86..b5eacb9 100644
--- a/flang/lib/evaluate/intrinsics.cpp
+++ b/flang/lib/Evaluate/intrinsics.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/intrinsics.cpp ---------------------------------------===//
+//===-- lib/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.
@@ -6,16 +6,16 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/intrinsics.h"
-#include "flang/common/Fortran.h"
-#include "flang/common/enum-set.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/common.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/shape.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/type.h"
+#include "flang/Evaluate/intrinsics.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Common/enum-set.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/shape.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/type.h"
#include <algorithm>
#include <map>
#include <ostream>
diff --git a/flang/lib/evaluate/logical.cpp b/flang/lib/Evaluate/logical.cpp
index 8bd3a3b..c29ed1d 100644
--- a/flang/lib/evaluate/logical.cpp
+++ b/flang/lib/Evaluate/logical.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/logical.cpp ------------------------------------------===//
+//===-- lib/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.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/logical.h"
+#include "flang/Evaluate/logical.h"
namespace Fortran::evaluate::value {
diff --git a/flang/lib/evaluate/real.cpp b/flang/lib/Evaluate/real.cpp
index 29ad1e0..6f9a17c 100644
--- a/flang/lib/evaluate/real.cpp
+++ b/flang/lib/Evaluate/real.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/real.cpp ---------------------------------------------===//
+//===-- lib/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.
@@ -6,11 +6,11 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/real.h"
+#include "flang/Evaluate/real.h"
#include "int-power.h"
-#include "flang/common/idioms.h"
-#include "flang/decimal/decimal.h"
-#include "flang/parser/characters.h"
+#include "flang/Common/idioms.h"
+#include "flang/Decimal/decimal.h"
+#include "flang/Parser/characters.h"
#include <limits>
namespace Fortran::evaluate::value {
diff --git a/flang/lib/evaluate/shape.cpp b/flang/lib/Evaluate/shape.cpp
index ea14c4b..c523f30 100644
--- a/flang/lib/evaluate/shape.cpp
+++ b/flang/lib/Evaluate/shape.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/shape.cpp --------------------------------------------===//
+//===-- lib/Evaluate/shape.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,16 +6,16 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/shape.h"
-#include "flang/common/idioms.h"
-#include "flang/common/template.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/intrinsics.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/message.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Evaluate/shape.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/template.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/intrinsics.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/symbol.h"
#include <functional>
using namespace std::placeholders; // _1, _2, &c. for std::bind()
diff --git a/flang/lib/evaluate/static-data.cpp b/flang/lib/Evaluate/static-data.cpp
index 668fcb4..8de4f31 100644
--- a/flang/lib/evaluate/static-data.cpp
+++ b/flang/lib/Evaluate/static-data.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/static-data.cpp --------------------------------------===//
+//===-- lib/Evaluate/static-data.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/static-data.h"
-#include "flang/parser/characters.h"
+#include "flang/Evaluate/static-data.h"
+#include "flang/Parser/characters.h"
namespace Fortran::evaluate {
diff --git a/flang/lib/evaluate/tools.cpp b/flang/lib/Evaluate/tools.cpp
index f082c49..cfa675c1b 100644
--- a/flang/lib/evaluate/tools.cpp
+++ b/flang/lib/Evaluate/tools.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/tools.cpp --------------------------------------------===//
+//===-- lib/Evaluate/tools.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,11 +6,11 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/tools.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/traverse.h"
-#include "flang/parser/message.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/traverse.h"
+#include "flang/Parser/message.h"
#include <algorithm>
#include <variant>
diff --git a/flang/lib/evaluate/type.cpp b/flang/lib/Evaluate/type.cpp
index 11f8003..79f40d0 100644
--- a/flang/lib/evaluate/type.cpp
+++ b/flang/lib/Evaluate/type.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/type.cpp ---------------------------------------------===//
+//===-- lib/Evaluate/type.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,16 +6,16 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/type.h"
-#include "flang/common/idioms.h"
-#include "flang/common/template.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/parser/characters.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/template.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Parser/characters.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
#include <algorithm>
#include <optional>
#include <sstream>
diff --git a/flang/lib/evaluate/variable.cpp b/flang/lib/Evaluate/variable.cpp
index f10b0a6..2ed7590 100644
--- a/flang/lib/evaluate/variable.cpp
+++ b/flang/lib/Evaluate/variable.cpp
@@ -1,4 +1,4 @@
-//===-- lib/evaluate/variable.cpp -----------------------------------------===//
+//===-- lib/Evaluate/variable.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,14 +6,14 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/evaluate/variable.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/char-block.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/message.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Evaluate/variable.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/symbol.h"
#include <ostream>
#include <type_traits>
diff --git a/flang/lib/fir/.clang-format b/flang/lib/Fir/.clang-format
index a74fda4..a74fda4 100644
--- a/flang/lib/fir/.clang-format
+++ b/flang/lib/Fir/.clang-format
diff --git a/flang/lib/lower/.clang-format b/flang/lib/Lower/.clang-format
index a74fda4..a74fda4 100644
--- a/flang/lib/lower/.clang-format
+++ b/flang/lib/Lower/.clang-format
diff --git a/flang/lib/lower/CMakeLists.txt b/flang/lib/Lower/CMakeLists.txt
index 87131cd..87131cd 100644
--- a/flang/lib/lower/CMakeLists.txt
+++ b/flang/lib/Lower/CMakeLists.txt
diff --git a/flang/lib/lower/PFTBuilder.cpp b/flang/lib/Lower/PFTBuilder.cpp
index d7998e2..5941b57 100644
--- a/flang/lib/lower/PFTBuilder.cpp
+++ b/flang/lib/Lower/PFTBuilder.cpp
@@ -1,4 +1,4 @@
-//===-- lib/lower/PFTBuilder.cc -------------------------------------------===//
+//===-- lib/Lower/PFTBuilder.cc -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/lower/PFTBuilder.h"
-#include "flang/parser/dump-parse-tree.h"
-#include "flang/parser/parse-tree-visitor.h"
+#include "flang/Lower/PFTBuilder.h"
+#include "flang/Parser/dump-parse-tree.h"
+#include "flang/Parser/parse-tree-visitor.h"
#include "llvm/ADT/DenseMap.h"
#include <algorithm>
#include <cassert>
diff --git a/flang/lib/optimizer/.clang-format b/flang/lib/Optimizer/.clang-format
index a74fda4..a74fda4 100644
--- a/flang/lib/optimizer/.clang-format
+++ b/flang/lib/Optimizer/.clang-format
diff --git a/flang/lib/parser/CMakeLists.txt b/flang/lib/Parser/CMakeLists.txt
index 72ced8c..5f7ba14 100644
--- a/flang/lib/parser/CMakeLists.txt
+++ b/flang/lib/Parser/CMakeLists.txt
@@ -1,4 +1,4 @@
-#===-- lib/parser/CMakeLists.txt -------------------------------------------===#
+#===-- lib/Parser/CMakeLists.txt -------------------------------------------===#
#
# 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/parser/Fortran-parsers.cpp b/flang/lib/Parser/Fortran-parsers.cpp
index d15901a7..1bf5393 100644
--- a/flang/lib/parser/Fortran-parsers.cpp
+++ b/flang/lib/Parser/Fortran-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/Fortran-parsers.cpp ------------------------------------===//
+//===-- lib/Parser/Fortran-parsers.cpp ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -36,8 +36,8 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/user-state.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/user-state.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/basic-parsers.h b/flang/lib/Parser/basic-parsers.h
index 31491a2..10df4a7 100644
--- a/flang/lib/parser/basic-parsers.h
+++ b/flang/lib/Parser/basic-parsers.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/basic-parsers.h ------------------------------*- C++ -*-===//
+//===-- lib/Parser/basic-parsers.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.
@@ -22,14 +22,14 @@
// This header defines the fundamental parser class templates and helper
// template functions. See parser-combinators.txt for documentation.
-#include "flang/common/Fortran-features.h"
-#include "flang/common/idioms.h"
-#include "flang/common/indirection.h"
-#include "flang/parser/char-block.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-state.h"
-#include "flang/parser/provenance.h"
-#include "flang/parser/user-state.h"
+#include "flang/Common/Fortran-features.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/indirection.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-state.h"
+#include "flang/Parser/provenance.h"
+#include "flang/Parser/user-state.h"
#include <cstring>
#include <functional>
#include <list>
diff --git a/flang/lib/parser/char-block.cpp b/flang/lib/Parser/char-block.cpp
index a3cb60a..b68be8a 100644
--- a/flang/lib/parser/char-block.cpp
+++ b/flang/lib/Parser/char-block.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/char-block.cpp -------------------------------*- C++ -*-===//
+//===-- lib/Parser/char-block.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.
@@ -6,7 +6,7 @@
//
//----------------------------------------------------------------------------//
-#include "flang/parser/char-block.h"
+#include "flang/Parser/char-block.h"
#include <ostream>
namespace Fortran::parser {
diff --git a/flang/lib/parser/char-buffer.cpp b/flang/lib/Parser/char-buffer.cpp
index 3de83ec..655dd31 100644
--- a/flang/lib/parser/char-buffer.cpp
+++ b/flang/lib/Parser/char-buffer.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/char-buffer.cpp ----------------------------------------===//
+//===-- lib/Parser/char-buffer.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/char-buffer.h"
-#include "flang/common/idioms.h"
+#include "flang/Parser/char-buffer.h"
+#include "flang/Common/idioms.h"
#include <algorithm>
#include <cstddef>
#include <cstring>
diff --git a/flang/lib/parser/char-set.cpp b/flang/lib/Parser/char-set.cpp
index 1390f5c..382cc4f 100644
--- a/flang/lib/parser/char-set.cpp
+++ b/flang/lib/Parser/char-set.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/char-set.cpp -------------------------------------------===//
+//===-- lib/Parser/char-set.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/char-set.h"
+#include "flang/Parser/char-set.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/characters.cpp b/flang/lib/Parser/characters.cpp
index f470356..62df401 100644
--- a/flang/lib/parser/characters.cpp
+++ b/flang/lib/Parser/characters.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/characters.cpp -----------------------------------------===//
+//===-- lib/Parser/characters.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/characters.h"
-#include "flang/common/idioms.h"
+#include "flang/Parser/characters.h"
+#include "flang/Common/idioms.h"
#include <algorithm>
#include <cstddef>
#include <optional>
diff --git a/flang/lib/parser/debug-parser.cpp b/flang/lib/Parser/debug-parser.cpp
index 4957ce1..b0db22f 100644
--- a/flang/lib/parser/debug-parser.cpp
+++ b/flang/lib/Parser/debug-parser.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/debug-parser.cpp ---------------------------------------===//
+//===-- lib/Parser/debug-parser.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "debug-parser.h"
-#include "flang/parser/user-state.h"
+#include "flang/Parser/user-state.h"
#include <ostream>
#include <string>
diff --git a/flang/lib/parser/debug-parser.h b/flang/lib/Parser/debug-parser.h
index dbb812c..fb9f208 100644
--- a/flang/lib/parser/debug-parser.h
+++ b/flang/lib/Parser/debug-parser.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/debug-parser.h -------------------------------*- C++ -*-===//
+//===-- lib/Parser/debug-parser.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.
@@ -14,7 +14,7 @@
// flow of the parsers. Not to be used in production.
#include "basic-parsers.h"
-#include "flang/parser/parse-state.h"
+#include "flang/Parser/parse-state.h"
#include <cstddef>
#include <optional>
diff --git a/flang/lib/parser/executable-parsers.cpp b/flang/lib/Parser/executable-parsers.cpp
index 72408f1..df1e7ba 100644
--- a/flang/lib/parser/executable-parsers.cpp
+++ b/flang/lib/Parser/executable-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/executable-parsers.cpp ---------------------------------===//
+//===-- lib/Parser/executable-parsers.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,8 +15,8 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/expr-parsers.cpp b/flang/lib/Parser/expr-parsers.cpp
index 11e94fc..7937088 100644
--- a/flang/lib/parser/expr-parsers.cpp
+++ b/flang/lib/Parser/expr-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/expr-parsers.cpp ---------------------------------------===//
+//===-- lib/Parser/expr-parsers.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,8 +15,8 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/expr-parsers.h b/flang/lib/Parser/expr-parsers.h
index fcaeeda..7106352 100644
--- a/flang/lib/parser/expr-parsers.h
+++ b/flang/lib/Parser/expr-parsers.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/expr-parsers.h -------------------------------*- C++ -*-===//
+//===-- lib/Parser/expr-parsers.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.
@@ -12,7 +12,7 @@
#include "basic-parsers.h"
#include "token-parsers.h"
#include "type-parsers.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/instrumented-parser.cpp b/flang/lib/Parser/instrumented-parser.cpp
index fc5e148..47ff042 100644
--- a/flang/lib/parser/instrumented-parser.cpp
+++ b/flang/lib/Parser/instrumented-parser.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/instrumented-parser.cpp --------------------------------===//
+//===-- lib/Parser/instrumented-parser.cpp --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/instrumented-parser.h"
-#include "flang/parser/message.h"
-#include "flang/parser/provenance.h"
+#include "flang/Parser/instrumented-parser.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/provenance.h"
#include <map>
#include <ostream>
diff --git a/flang/lib/parser/io-parsers.cpp b/flang/lib/Parser/io-parsers.cpp
index a9ccbb7..48b383bf 100644
--- a/flang/lib/parser/io-parsers.cpp
+++ b/flang/lib/Parser/io-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/io-parsers.cpp -----------------------------------------===//
+//===-- lib/Parser/io-parsers.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,8 +15,8 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
// R1201 io-unit -> file-unit-number | * | internal-file-variable
diff --git a/flang/lib/parser/message.cpp b/flang/lib/Parser/message.cpp
index 2f5655e..feb93a7 100644
--- a/flang/lib/parser/message.cpp
+++ b/flang/lib/Parser/message.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/message.cpp --------------------------------------------===//
+//===-- lib/Parser/message.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/message.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/char-set.h"
+#include "flang/Parser/message.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/char-set.h"
#include <algorithm>
#include <cstdarg>
#include <cstddef>
diff --git a/flang/lib/parser/misc-parsers.h b/flang/lib/Parser/misc-parsers.h
index 1a7c641..ca98e691 100644
--- a/flang/lib/parser/misc-parsers.h
+++ b/flang/lib/Parser/misc-parsers.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/misc-parsers.h -------------------------------*- C++ -*-===//
+//===-- lib/Parser/misc-parsers.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.
@@ -15,8 +15,8 @@
#include "basic-parsers.h"
#include "token-parsers.h"
#include "type-parsers.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/openmp-parsers.cpp b/flang/lib/Parser/openmp-parsers.cpp
index fd1b961..407b512 100644
--- a/flang/lib/parser/openmp-parsers.cpp
+++ b/flang/lib/Parser/openmp-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/openmp-parsers.cpp -------------------------------------===//
+//===-- lib/Parser/openmp-parsers.cpp -------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,7 +15,7 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/parse-tree.h"
// OpenMP Directives and Clauses
namespace Fortran::parser {
diff --git a/flang/lib/parser/parse-tree.cpp b/flang/lib/Parser/parse-tree.cpp
index c412214..d0722aa 100644
--- a/flang/lib/parser/parse-tree.cpp
+++ b/flang/lib/Parser/parse-tree.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/parse-tree.cpp -----------------------------------------===//
+//===-- lib/Parser/parse-tree.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,10 +6,10 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/parse-tree.h"
-#include "flang/common/idioms.h"
-#include "flang/common/indirection.h"
-#include "flang/parser/user-state.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/indirection.h"
+#include "flang/Parser/user-state.h"
#include <algorithm>
// So "delete Expr;" calls an external destructor for its typedExpr.
diff --git a/flang/lib/parser/parsing.cpp b/flang/lib/Parser/parsing.cpp
index ab39c2b..9b77b9f 100644
--- a/flang/lib/parser/parsing.cpp
+++ b/flang/lib/Parser/parsing.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/parsing.cpp --------------------------------------------===//
+//===-- lib/Parser/parsing.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,13 +6,13 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/parsing.h"
+#include "flang/Parser/parsing.h"
#include "preprocessor.h"
#include "prescan.h"
#include "type-parsers.h"
-#include "flang/parser/message.h"
-#include "flang/parser/provenance.h"
-#include "flang/parser/source.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/provenance.h"
+#include "flang/Parser/source.h"
#include <sstream>
namespace Fortran::parser {
diff --git a/flang/lib/parser/preprocessor.cpp b/flang/lib/Parser/preprocessor.cpp
index cd5cee7..f825f56 100644
--- a/flang/lib/parser/preprocessor.cpp
+++ b/flang/lib/Parser/preprocessor.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/preprocessor.cpp ---------------------------------------===//
+//===-- lib/Parser/preprocessor.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,9 +8,9 @@
#include "preprocessor.h"
#include "prescan.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/message.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/message.h"
#include <algorithm>
#include <cinttypes>
#include <cstddef>
diff --git a/flang/lib/parser/preprocessor.h b/flang/lib/Parser/preprocessor.h
index 523c880..9b1b019 100644
--- a/flang/lib/parser/preprocessor.h
+++ b/flang/lib/Parser/preprocessor.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/preprocessor.h -------------------------------*- C++ -*-===//
+//===-- lib/Parser/preprocessor.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.
@@ -16,8 +16,8 @@
// extensions for preprocessing will not be necessary.
#include "token-sequence.h"
-#include "flang/parser/char-block.h"
-#include "flang/parser/provenance.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Parser/provenance.h"
#include <cstddef>
#include <list>
#include <stack>
diff --git a/flang/lib/parser/prescan.cpp b/flang/lib/Parser/prescan.cpp
index 679f136..c28fc15 100644
--- a/flang/lib/parser/prescan.cpp
+++ b/flang/lib/Parser/prescan.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/prescan.cpp --------------------------------------------===//
+//===-- lib/Parser/prescan.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,10 +9,10 @@
#include "prescan.h"
#include "preprocessor.h"
#include "token-sequence.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/message.h"
-#include "flang/parser/source.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/source.h"
#include <cstddef>
#include <cstring>
#include <sstream>
diff --git a/flang/lib/parser/prescan.h b/flang/lib/Parser/prescan.h
index 1b13cb7..9409804 100644
--- a/flang/lib/parser/prescan.h
+++ b/flang/lib/Parser/prescan.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/prescan.h ------------------------------------*- C++ -*-===//
+//===-- lib/Parser/prescan.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.
@@ -17,10 +17,10 @@
// inclusion, and driving the Fortran source preprocessor.
#include "token-sequence.h"
-#include "flang/common/Fortran-features.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/message.h"
-#include "flang/parser/provenance.h"
+#include "flang/Common/Fortran-features.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/provenance.h"
#include <bitset>
#include <optional>
#include <string>
diff --git a/flang/lib/parser/program-parsers.cpp b/flang/lib/Parser/program-parsers.cpp
index f0e4e69..36a9d39 100644
--- a/flang/lib/parser/program-parsers.cpp
+++ b/flang/lib/Parser/program-parsers.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/program-parsers.cpp ------------------------------------===//
+//===-- lib/Parser/program-parsers.cpp ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -15,8 +15,8 @@
#include "stmt-parser.h"
#include "token-parsers.h"
#include "type-parser-implementation.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/parse-tree.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/provenance.cpp b/flang/lib/Parser/provenance.cpp
index 391e650..db61e4e 100644
--- a/flang/lib/parser/provenance.cpp
+++ b/flang/lib/Parser/provenance.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/provenance.cpp -----------------------------------------===//
+//===-- lib/Parser/provenance.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/provenance.h"
-#include "flang/common/idioms.h"
+#include "flang/Parser/provenance.h"
+#include "flang/Common/idioms.h"
#include <algorithm>
#include <utility>
diff --git a/flang/lib/parser/source.cpp b/flang/lib/Parser/source.cpp
index e6635e9..0fbb8e3 100644
--- a/flang/lib/parser/source.cpp
+++ b/flang/lib/Parser/source.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/source.cpp ---------------------------------------------===//
+//===-- lib/Parser/source.cpp ---------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,9 +6,9 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/source.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/char-buffer.h"
+#include "flang/Parser/source.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/char-buffer.h"
#include <algorithm>
#include <cerrno>
#include <cstddef>
diff --git a/flang/lib/parser/stmt-parser.h b/flang/lib/Parser/stmt-parser.h
index 1a290fd..ee26e50 100644
--- a/flang/lib/parser/stmt-parser.h
+++ b/flang/lib/Parser/stmt-parser.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/stmt-parser.h --------------------------------*- C++ -*-===//
+//===-- lib/Parser/stmt-parser.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/parser/token-parsers.h b/flang/lib/Parser/token-parsers.h
index d36d789..c34b978 100644
--- a/flang/lib/parser/token-parsers.h
+++ b/flang/lib/Parser/token-parsers.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/token-parsers.h ------------------------------*- C++ -*-===//
+//===-- lib/Parser/token-parsers.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.
@@ -14,11 +14,11 @@
#include "basic-parsers.h"
#include "type-parsers.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/char-set.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/instrumented-parser.h"
-#include "flang/parser/provenance.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/char-set.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/instrumented-parser.h"
+#include "flang/Parser/provenance.h"
#include <cctype>
#include <cstddef>
#include <cstring>
diff --git a/flang/lib/parser/token-sequence.cpp b/flang/lib/Parser/token-sequence.cpp
index 3f984e1..23aa450 100644
--- a/flang/lib/parser/token-sequence.cpp
+++ b/flang/lib/Parser/token-sequence.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/token-sequence.cpp -------------------------------------===//
+//===-- lib/Parser/token-sequence.cpp -------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "token-sequence.h"
-#include "flang/parser/characters.h"
+#include "flang/Parser/characters.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/token-sequence.h b/flang/lib/Parser/token-sequence.h
index e4b7dce..d0ef075 100644
--- a/flang/lib/parser/token-sequence.h
+++ b/flang/lib/Parser/token-sequence.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/token-sequence.h -----------------------------*- C++ -*-===//
+//===-- lib/Parser/token-sequence.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.
@@ -13,8 +13,8 @@
// and a partitioning thereof into preprocessing tokens, along with their
// associated provenances.
-#include "flang/parser/char-block.h"
-#include "flang/parser/provenance.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Parser/provenance.h"
#include <cstddef>
#include <cstring>
#include <ostream>
diff --git a/flang/lib/parser/tools.cpp b/flang/lib/Parser/tools.cpp
index 522bd3a..7fb7379 100644
--- a/flang/lib/parser/tools.cpp
+++ b/flang/lib/Parser/tools.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/tools.cpp ----------------------------------------------===//
+//===-- lib/Parser/tools.cpp ----------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/tools.h"
+#include "flang/Parser/tools.h"
namespace Fortran::parser {
diff --git a/flang/lib/parser/type-parser-implementation.h b/flang/lib/Parser/type-parser-implementation.h
index 995c36d..1bea618 100644
--- a/flang/lib/parser/type-parser-implementation.h
+++ b/flang/lib/Parser/type-parser-implementation.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/type-parser-implementation.h -----------------*- C++ -*-===//
+//===-- lib/Parser/type-parser-implementation.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/parser/type-parsers.h b/flang/lib/Parser/type-parsers.h
index 82273a3..40e36a8 100644
--- a/flang/lib/parser/type-parsers.h
+++ b/flang/lib/Parser/type-parsers.h
@@ -1,4 +1,4 @@
-//===-- lib/parser/type-parsers.h -------------------------------*- C++ -*-===//
+//===-- lib/Parser/type-parsers.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.
@@ -9,8 +9,8 @@
#ifndef FORTRAN_PARSER_TYPE_PARSERS_H_
#define FORTRAN_PARSER_TYPE_PARSERS_H_
-#include "flang/parser/instrumented-parser.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/instrumented-parser.h"
+#include "flang/Parser/parse-tree.h"
#include <optional>
namespace Fortran::parser {
diff --git a/flang/lib/parser/unparse.cpp b/flang/lib/Parser/unparse.cpp
index 82d5296..45bb54f 100644
--- a/flang/lib/parser/unparse.cpp
+++ b/flang/lib/Parser/unparse.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/unparse.cpp --------------------------------------------===//
+//===-- lib/Parser/unparse.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,13 +9,13 @@
// Generates Fortran from the content of a parse tree, using the
// traversal templates in parse-tree-visitor.h.
-#include "flang/parser/unparse.h"
-#include "flang/common/Fortran.h"
-#include "flang/common/idioms.h"
-#include "flang/common/indirection.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
+#include "flang/Parser/unparse.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/indirection.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
#include <algorithm>
#include <cinttypes>
#include <cstddef>
diff --git a/flang/lib/parser/user-state.cpp b/flang/lib/Parser/user-state.cpp
index bd84463..1140d40 100644
--- a/flang/lib/parser/user-state.cpp
+++ b/flang/lib/Parser/user-state.cpp
@@ -1,4 +1,4 @@
-//===-- lib/parser/user-state.cpp -----------------------------------------===//
+//===-- lib/Parser/user-state.cpp -----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,10 +6,10 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/user-state.h"
+#include "flang/Parser/user-state.h"
#include "stmt-parser.h"
#include "type-parsers.h"
-#include "flang/parser/parse-state.h"
+#include "flang/Parser/parse-state.h"
#include <optional>
namespace Fortran::parser {
diff --git a/flang/lib/semantics/CMakeLists.txt b/flang/lib/Semantics/CMakeLists.txt
index 5f2e3c6..7900eef 100644
--- a/flang/lib/semantics/CMakeLists.txt
+++ b/flang/lib/Semantics/CMakeLists.txt
@@ -1,4 +1,4 @@
-#===-- lib/semantics/CMakeLists.txt ----------------------------------------===#
+#===-- lib/Semantics/CMakeLists.txt ----------------------------------------===#
#
# 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/semantics/assignment.cpp b/flang/lib/Semantics/assignment.cpp
index b286f65..dfa11e8 100644
--- a/flang/lib/semantics/assignment.cpp
+++ b/flang/lib/Semantics/assignment.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/assignment.cpp --------------------------------------===//
+//===-- lib/Semantics/assignment.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,18 +8,18 @@
#include "assignment.h"
#include "pointer-assignment.h"
-#include "flang/common/idioms.h"
-#include "flang/common/restorer.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/restorer.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <optional>
#include <set>
#include <string>
diff --git a/flang/lib/semantics/assignment.h b/flang/lib/Semantics/assignment.h
index 51b7c17..ad18577 100644
--- a/flang/lib/semantics/assignment.h
+++ b/flang/lib/Semantics/assignment.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/assignment.h ------------------------------*- C++ -*-===//
+//===-- lib/Semantics/assignment.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.
@@ -9,9 +9,9 @@
#ifndef FORTRAN_SEMANTICS_ASSIGNMENT_H_
#define FORTRAN_SEMANTICS_ASSIGNMENT_H_
-#include "flang/common/indirection.h"
-#include "flang/evaluate/expression.h"
-#include "flang/semantics/semantics.h"
+#include "flang/Common/indirection.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
class ContextualMessages;
diff --git a/flang/lib/semantics/attr.cpp b/flang/lib/Semantics/attr.cpp
index 6562344..341fe5e 100644
--- a/flang/lib/semantics/attr.cpp
+++ b/flang/lib/Semantics/attr.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/attr.cpp --------------------------------------------===//
+//===-- lib/Semantics/attr.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,8 +6,8 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/attr.h"
-#include "flang/common/idioms.h"
+#include "flang/Semantics/attr.h"
+#include "flang/Common/idioms.h"
#include <ostream>
#include <stddef.h>
diff --git a/flang/lib/semantics/canonicalize-do.cpp b/flang/lib/Semantics/canonicalize-do.cpp
index 45353c9..b50c0ff 100644
--- a/flang/lib/semantics/canonicalize-do.cpp
+++ b/flang/lib/Semantics/canonicalize-do.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/canonicalize-do.cpp ---------------------------------===//
+//===-- lib/Semantics/canonicalize-do.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "canonicalize-do.h"
-#include "flang/parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree-visitor.h"
namespace Fortran::parser {
diff --git a/flang/lib/semantics/canonicalize-do.h b/flang/lib/Semantics/canonicalize-do.h
index 4b7c18a..9de5b52 100644
--- a/flang/lib/semantics/canonicalize-do.h
+++ b/flang/lib/Semantics/canonicalize-do.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/canonicalize-do.h -------------------------*- C++ -*-===//
+//===-- lib/Semantics/canonicalize-do.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/semantics/canonicalize-omp.cpp b/flang/lib/Semantics/canonicalize-omp.cpp
index 1af2f3b..9588b03 100644
--- a/flang/lib/semantics/canonicalize-omp.cpp
+++ b/flang/lib/Semantics/canonicalize-omp.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/canonicalize-omp.cpp --------------------------------===//
+//===-- lib/Semantics/canonicalize-omp.cpp --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
#include "canonicalize-omp.h"
-#include "flang/parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree-visitor.h"
// After Loop Canonicalization, rewrite OpenMP parse tree to make OpenMP
// Constructs more structured which provide explicit scopes for later
diff --git a/flang/lib/semantics/canonicalize-omp.h b/flang/lib/Semantics/canonicalize-omp.h
index f1f2cfe..6531851 100644
--- a/flang/lib/semantics/canonicalize-omp.h
+++ b/flang/lib/Semantics/canonicalize-omp.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/canonicalize-omp.h ------------------------*- C++ -*-===//
+//===-- lib/Semantics/canonicalize-omp.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/semantics/check-allocate.cpp b/flang/lib/Semantics/check-allocate.cpp
index 32ceb38..fdba615 100644
--- a/flang/lib/semantics/check-allocate.cpp
+++ b/flang/lib/Semantics/check-allocate.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-allocate.cpp ----------------------------------===//
+//===-- lib/Semantics/check-allocate.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,14 +8,14 @@
#include "check-allocate.h"
#include "assignment.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/attr.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/attr.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-allocate.h b/flang/lib/Semantics/check-allocate.h
index 2d495b1..2d7405d 100644
--- a/flang/lib/semantics/check-allocate.h
+++ b/flang/lib/Semantics/check-allocate.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-allocate.h --------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-allocate.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_ALLOCATE_H_
#define FORTRAN_SEMANTICS_CHECK_ALLOCATE_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct AllocateStmt;
diff --git a/flang/lib/semantics/check-arithmeticif.cpp b/flang/lib/Semantics/check-arithmeticif.cpp
index d0b08a3..efa71131 100644
--- a/flang/lib/semantics/check-arithmeticif.cpp
+++ b/flang/lib/Semantics/check-arithmeticif.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-arithmeticif.cpp ------------------------------===//
+//===-- lib/Semantics/check-arithmeticif.cpp ------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "check-arithmeticif.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-arithmeticif.h b/flang/lib/Semantics/check-arithmeticif.h
index 32e2b35..f1b50e1 100644
--- a/flang/lib/semantics/check-arithmeticif.h
+++ b/flang/lib/Semantics/check-arithmeticif.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-arithmeticif.h ----------------------*- C++ -*-===//
+//===-- lib/Semantics/check-arithmeticif.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_ARITHMETICIF_STMT_H_
#define FORTRAN_SEMANTICS_CHECK_ARITHMETICIF_STMT_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct ArithmeticIfStmt;
diff --git a/flang/lib/semantics/check-call.cpp b/flang/lib/Semantics/check-call.cpp
index f03f30e..bca65e9 100644
--- a/flang/lib/semantics/check-call.cpp
+++ b/flang/lib/Semantics/check-call.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-call.cpp --------------------------------------===//
+//===-- lib/Semantics/check-call.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,14 +8,14 @@
#include "check-call.h"
#include "pointer-assignment.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/check-expression.h"
-#include "flang/evaluate/shape.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/message.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/tools.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/check-expression.h"
+#include "flang/Evaluate/shape.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/tools.h"
#include <map>
#include <string>
diff --git a/flang/lib/semantics/check-call.h b/flang/lib/Semantics/check-call.h
index 68c5b53..08bed15 100644
--- a/flang/lib/semantics/check-call.h
+++ b/flang/lib/Semantics/check-call.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-call.h ------------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-call.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.
@@ -11,7 +11,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_CALL_H_
#define FORTRAN_SEMANTICS_CHECK_CALL_H_
-#include "flang/evaluate/call.h"
+#include "flang/Evaluate/call.h"
namespace Fortran::parser {
class Messages;
diff --git a/flang/lib/semantics/check-coarray.cpp b/flang/lib/Semantics/check-coarray.cpp
index 0e43314..f070ebc 100644
--- a/flang/lib/semantics/check-coarray.cpp
+++ b/flang/lib/Semantics/check-coarray.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-coarray.cpp -----------------------------------===//
+//===-- lib/Semantics/check-coarray.cpp -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,13 +7,13 @@
//===----------------------------------------------------------------------===//
#include "check-coarray.h"
-#include "flang/common/indirection.h"
-#include "flang/evaluate/expression.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/indirection.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-coarray.h b/flang/lib/Semantics/check-coarray.h
index fe4176c..dd34f0a 100644
--- a/flang/lib/semantics/check-coarray.h
+++ b/flang/lib/Semantics/check-coarray.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-coarray.h ---------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-coarray.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_COARRAY_H_
#define FORTRAN_SEMANTICS_CHECK_COARRAY_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
#include <list>
namespace Fortran::parser {
diff --git a/flang/lib/semantics/check-data.cpp b/flang/lib/Semantics/check-data.cpp
index e831bf7..e7d599e 100644
--- a/flang/lib/semantics/check-data.cpp
+++ b/flang/lib/Semantics/check-data.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-data.cpp --------------------------------------===//
+//===-- lib/Semantics/check-data.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/semantics/check-data.h b/flang/lib/Semantics/check-data.h
index b2e9651..80b8edc 100644
--- a/flang/lib/semantics/check-data.h
+++ b/flang/lib/Semantics/check-data.h
@@ -1,4 +1,4 @@
-//===-------lib/semantics/check-data.h ------------------------------------===//
+//===-------lib/Semantics/check-data.h ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,10 +9,10 @@
#ifndef FORTRAN_SEMANTICS_CHECK_DATA_H_
#define FORTRAN_SEMANTICS_CHECK_DATA_H_
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
class DataChecker : public virtual BaseChecker {
diff --git a/flang/lib/semantics/check-deallocate.cpp b/flang/lib/Semantics/check-deallocate.cpp
index 6a0ea45..6462514 100644
--- a/flang/lib/semantics/check-deallocate.cpp
+++ b/flang/lib/Semantics/check-deallocate.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-deallocate.cpp --------------------------------===//
+//===-- lib/Semantics/check-deallocate.cpp --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//
#include "check-deallocate.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-deallocate.h b/flang/lib/Semantics/check-deallocate.h
index 6855055..f47283a 100644
--- a/flang/lib/semantics/check-deallocate.h
+++ b/flang/lib/Semantics/check-deallocate.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-deallocate.h ------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-deallocate.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_DEALLOCATE_H_
#define FORTRAN_SEMANTICS_CHECK_DEALLOCATE_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct DeallocateStmt;
diff --git a/flang/lib/semantics/check-declarations.cpp b/flang/lib/Semantics/check-declarations.cpp
index 7c27fcb..4e46331 100644
--- a/flang/lib/semantics/check-declarations.cpp
+++ b/flang/lib/Semantics/check-declarations.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-declarations.cpp ------------------------------===//
+//===-- lib/Semantics/check-declarations.cpp ------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,14 +9,14 @@
// Static declaration checking
#include "check-declarations.h"
-#include "flang/evaluate/check-expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Evaluate/check-expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
#include <algorithm>
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-declarations.h b/flang/lib/Semantics/check-declarations.h
index 19d3072..98cea32 100644
--- a/flang/lib/semantics/check-declarations.h
+++ b/flang/lib/Semantics/check-declarations.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-declarations.h ----------------------*- C++ -*-===//
+//===-- lib/Semantics/check-declarations.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/semantics/check-do-forall.cpp b/flang/lib/Semantics/check-do-forall.cpp
index 071a873..615e100 100644
--- a/flang/lib/semantics/check-do-forall.cpp
+++ b/flang/lib/Semantics/check-do-forall.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-do-forall.cpp ---------------------------------===//
+//===-- lib/Semantics/check-do-forall.cpp ---------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,19 +7,19 @@
//===----------------------------------------------------------------------===//
#include "check-do-forall.h"
-#include "flang/common/template.h"
-#include "flang/evaluate/call.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/attr.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Common/template.h"
+#include "flang/Evaluate/call.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/attr.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
namespace Fortran::evaluate {
using ActualArgumentRef = common::Reference<const ActualArgument>;
diff --git a/flang/lib/semantics/check-do-forall.h b/flang/lib/Semantics/check-do-forall.h
index 1ba9b6b..f820926 100644
--- a/flang/lib/semantics/check-do-forall.h
+++ b/flang/lib/Semantics/check-do-forall.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-do-forall.h -------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-do-forall.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.
@@ -9,8 +9,8 @@
#ifndef FORTRAN_SEMANTICS_CHECK_DO_FORALL_H_
#define FORTRAN_SEMANTICS_CHECK_DO_FORALL_H_
-#include "flang/common/idioms.h"
-#include "flang/semantics/semantics.h"
+#include "flang/Common/idioms.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct AssignmentStmt;
diff --git a/flang/lib/semantics/check-if-stmt.cpp b/flang/lib/Semantics/check-if-stmt.cpp
index 589caf2..b969338 100644
--- a/flang/lib/semantics/check-if-stmt.cpp
+++ b/flang/lib/Semantics/check-if-stmt.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-if-stmt.cpp -----------------------------------===//
+//===-- lib/Semantics/check-if-stmt.cpp -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "check-if-stmt.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-if-stmt.h b/flang/lib/Semantics/check-if-stmt.h
index 01aac0e..21ae269 100644
--- a/flang/lib/semantics/check-if-stmt.h
+++ b/flang/lib/Semantics/check-if-stmt.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-if-stmt.h ---------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-if-stmt.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_IF_STMT_H_
#define FORTRAN_SEMANTICS_CHECK_IF_STMT_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct IfStmt;
diff --git a/flang/lib/semantics/check-io.cpp b/flang/lib/Semantics/check-io.cpp
index abbf915..a3de44e 100644
--- a/flang/lib/semantics/check-io.cpp
+++ b/flang/lib/Semantics/check-io.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-io.cpp ----------------------------------------===//
+//===-- lib/Semantics/check-io.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//
#include "check-io.h"
-#include "flang/common/format.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/format.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/tools.h"
#include <unordered_map>
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-io.h b/flang/lib/Semantics/check-io.h
index 96315d5..c43f62b 100644
--- a/flang/lib/semantics/check-io.h
+++ b/flang/lib/Semantics/check-io.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-io.h --------------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-io.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.
@@ -9,10 +9,10 @@
#ifndef FORTRAN_SEMANTICS_CHECK_IO_H_
#define FORTRAN_SEMANTICS_CHECK_IO_H_
-#include "flang/common/enum-set.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/enum-set.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-nullify.cpp b/flang/lib/Semantics/check-nullify.cpp
index 06a551f..c7595f4 100644
--- a/flang/lib/semantics/check-nullify.cpp
+++ b/flang/lib/Semantics/check-nullify.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-nullify.cpp -----------------------------------===//
+//===-- lib/Semantics/check-nullify.cpp -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,11 +8,11 @@
#include "check-nullify.h"
#include "assignment.h"
-#include "flang/evaluate/expression.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/tools.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-nullify.h b/flang/lib/Semantics/check-nullify.h
index f06fc66..508631a 100644
--- a/flang/lib/semantics/check-nullify.h
+++ b/flang/lib/Semantics/check-nullify.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-nullify.h ---------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-nullify.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_NULLIFY_H_
#define FORTRAN_SEMANTICS_CHECK_NULLIFY_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct NullifyStmt;
diff --git a/flang/lib/semantics/check-omp-structure.cpp b/flang/lib/Semantics/check-omp-structure.cpp
index c8493c0..0e12285 100644
--- a/flang/lib/semantics/check-omp-structure.cpp
+++ b/flang/lib/Semantics/check-omp-structure.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-omp-structure.cpp -----------------------------===//
+//===-- lib/Semantics/check-omp-structure.cpp -----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//
#include "check-omp-structure.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/tools.h"
#include <unordered_map>
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-omp-structure.h b/flang/lib/Semantics/check-omp-structure.h
index e265b6b..67709e3 100644
--- a/flang/lib/semantics/check-omp-structure.h
+++ b/flang/lib/Semantics/check-omp-structure.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-omp-structure.h ---------------------*- C++ -*-===//
+//===-- lib/Semantics/check-omp-structure.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.
@@ -14,9 +14,9 @@
#ifndef FORTRAN_SEMANTICS_CHECK_OMP_STRUCTURE_H_
#define FORTRAN_SEMANTICS_CHECK_OMP_STRUCTURE_H_
-#include "flang/common/enum-set.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/semantics.h"
+#include "flang/Common/enum-set.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-purity.cpp b/flang/lib/Semantics/check-purity.cpp
index 986a22a..9ca56fc0 100644
--- a/flang/lib/semantics/check-purity.cpp
+++ b/flang/lib/Semantics/check-purity.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-purity.cpp ------------------------------------===//
+//===-- lib/Semantics/check-purity.cpp ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,8 +7,8 @@
//===----------------------------------------------------------------------===//
#include "check-purity.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/tools.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
void PurityChecker::Enter(const parser::ExecutableConstruct &exec) {
diff --git a/flang/lib/semantics/check-purity.h b/flang/lib/Semantics/check-purity.h
index 189f72c..b4c8272 100644
--- a/flang/lib/semantics/check-purity.h
+++ b/flang/lib/Semantics/check-purity.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-purity.h ----------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-purity.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.
@@ -8,7 +8,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_PURITY_H_
#define FORTRAN_SEMANTICS_CHECK_PURITY_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
#include <list>
namespace Fortran::parser {
struct ExecutableConstruct;
diff --git a/flang/lib/semantics/check-return.cpp b/flang/lib/Semantics/check-return.cpp
index 0fb3b61..0e0dd2c 100644
--- a/flang/lib/semantics/check-return.cpp
+++ b/flang/lib/Semantics/check-return.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-return.cpp ------------------------------------===//
+//===-- lib/Semantics/check-return.cpp ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,11 +7,11 @@
//===----------------------------------------------------------------------===//
#include "check-return.h"
-#include "flang/common/Fortran-features.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/Fortran-features.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-return.h b/flang/lib/Semantics/check-return.h
index b2f4f06..edaf90b 100644
--- a/flang/lib/semantics/check-return.h
+++ b/flang/lib/Semantics/check-return.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-return.h ----------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-return.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_RETURN_H_
#define FORTRAN_SEMANTICS_CHECK_RETURN_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct ReturnStmt;
diff --git a/flang/lib/semantics/check-stop.cpp b/flang/lib/Semantics/check-stop.cpp
index 105f0df..08487a5 100644
--- a/flang/lib/semantics/check-stop.cpp
+++ b/flang/lib/Semantics/check-stop.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-stop.cpp --------------------------------------===//
+//===-- lib/Semantics/check-stop.cpp --------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,11 +7,11 @@
//===----------------------------------------------------------------------===//
#include "check-stop.h"
-#include "flang/common/Fortran.h"
-#include "flang/evaluate/expression.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
#include <optional>
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/check-stop.h b/flang/lib/Semantics/check-stop.h
index 3daf7da..ed50830 100644
--- a/flang/lib/semantics/check-stop.h
+++ b/flang/lib/Semantics/check-stop.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/check-stop.h ------------------------------*- C++ -*-===//
+//===-- lib/Semantics/check-stop.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_CHECK_STOP_H_
#define FORTRAN_SEMANTICS_CHECK_STOP_H_
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
namespace Fortran::parser {
struct StopStmt;
diff --git a/flang/lib/semantics/expression.cpp b/flang/lib/Semantics/expression.cpp
index 65e9f7e..a41e754 100644
--- a/flang/lib/semantics/expression.cpp
+++ b/flang/lib/Semantics/expression.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/expression.cpp --------------------------------------===//
+//===-- lib/Semantics/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.
@@ -6,21 +6,21 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/expression.h"
+#include "flang/Semantics/expression.h"
#include "check-call.h"
#include "pointer-assignment.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/common.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/characters.h"
-#include "flang/parser/dump-parse-tree.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/characters.h"
+#include "flang/Parser/dump-parse-tree.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <algorithm>
#include <functional>
#include <optional>
@@ -32,7 +32,7 @@ using MaybeExpr =
std::optional<Fortran::evaluate::Expr<Fortran::evaluate::SomeType>>;
// Much of the code that implements semantic analysis of expressions is
-// tightly coupled with their typed representations in lib/evaluate,
+// tightly coupled with their typed representations in lib/Evaluate,
// and appears here in namespace Fortran::evaluate for convenience.
namespace Fortran::evaluate {
diff --git a/flang/lib/semantics/mod-file.cpp b/flang/lib/Semantics/mod-file.cpp
index 1f89c56..53f72b4 100644
--- a/flang/lib/semantics/mod-file.cpp
+++ b/flang/lib/Semantics/mod-file.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/mod-file.cpp ----------------------------------------===//
+//===-- lib/Semantics/mod-file.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -8,13 +8,13 @@
#include "mod-file.h"
#include "resolve-names.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parsing.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parsing.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <algorithm>
#include <cerrno>
#include <fstream>
diff --git a/flang/lib/semantics/mod-file.h b/flang/lib/Semantics/mod-file.h
index ba6bae0..1bc356a 100644
--- a/flang/lib/semantics/mod-file.h
+++ b/flang/lib/Semantics/mod-file.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/mod-file.h --------------------------------*- C++ -*-===//
+//===-- lib/Semantics/mod-file.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.
@@ -9,7 +9,7 @@
#ifndef FORTRAN_SEMANTICS_MOD_FILE_H_
#define FORTRAN_SEMANTICS_MOD_FILE_H_
-#include "flang/semantics/attr.h"
+#include "flang/Semantics/attr.h"
#include <sstream>
#include <string>
diff --git a/flang/lib/semantics/pointer-assignment.cpp b/flang/lib/Semantics/pointer-assignment.cpp
index d3b3ec7..b59dc81 100644
--- a/flang/lib/semantics/pointer-assignment.cpp
+++ b/flang/lib/Semantics/pointer-assignment.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/pointer-assignment.cpp ------------------------------===//
+//===-- lib/Semantics/pointer-assignment.cpp ------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,18 +7,18 @@
//===----------------------------------------------------------------------===//
#include "pointer-assignment.h"
-#include "flang/common/idioms.h"
-#include "flang/common/restorer.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/expression.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/restorer.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <optional>
#include <set>
#include <string>
diff --git a/flang/lib/semantics/pointer-assignment.h b/flang/lib/Semantics/pointer-assignment.h
index a9efc59..31131a3 100644
--- a/flang/lib/semantics/pointer-assignment.h
+++ b/flang/lib/Semantics/pointer-assignment.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/pointer-assignment.h --------------------------------===//
+//===-- lib/Semantics/pointer-assignment.h --------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -9,9 +9,9 @@
#ifndef FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_
#define FORTRAN_SEMANTICS_POINTER_ASSIGNMENT_H_
-#include "flang/evaluate/expression.h"
-#include "flang/parser/char-block.h"
-#include "flang/semantics/type.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Semantics/type.h"
#include <string>
namespace Fortran::evaluate::characteristics {
diff --git a/flang/lib/semantics/program-tree.cpp b/flang/lib/Semantics/program-tree.cpp
index 74381e1..9325079 100644
--- a/flang/lib/semantics/program-tree.cpp
+++ b/flang/lib/Semantics/program-tree.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/program-tree.cpp ------------------------------------===//
+//===-- lib/Semantics/program-tree.cpp ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,9 +7,9 @@
//===----------------------------------------------------------------------===//
#include "program-tree.h"
-#include "flang/common/idioms.h"
-#include "flang/parser/char-block.h"
-#include "flang/semantics/scope.h"
+#include "flang/Common/idioms.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Semantics/scope.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/program-tree.h b/flang/lib/Semantics/program-tree.h
index 88a2749..84e33ba 100644
--- a/flang/lib/semantics/program-tree.h
+++ b/flang/lib/Semantics/program-tree.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/program-tree.h ----------------------------*- C++ -*-===//
+//===-- lib/Semantics/program-tree.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.
@@ -9,8 +9,8 @@
#ifndef FORTRAN_SEMANTICS_PROGRAM_TREE_H_
#define FORTRAN_SEMANTICS_PROGRAM_TREE_H_
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/symbol.h"
#include <variant>
// A ProgramTree represents a tree of program units and their contained
diff --git a/flang/lib/semantics/resolve-labels.cpp b/flang/lib/Semantics/resolve-labels.cpp
index 7237627..d17352b 100644
--- a/flang/lib/semantics/resolve-labels.cpp
+++ b/flang/lib/Semantics/resolve-labels.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-labels.cpp ----------------------------------===//
+//===-- lib/Semantics/resolve-labels.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,10 +7,10 @@
//===----------------------------------------------------------------------===//
#include "resolve-labels.h"
-#include "flang/common/enum-set.h"
-#include "flang/common/template.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/semantics/semantics.h"
+#include "flang/Common/enum-set.h"
+#include "flang/Common/template.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Semantics/semantics.h"
#include <cctype>
#include <cstdarg>
#include <type_traits>
diff --git a/flang/lib/semantics/resolve-labels.h b/flang/lib/Semantics/resolve-labels.h
index 9cb8a9a..6538a00 100644
--- a/flang/lib/semantics/resolve-labels.h
+++ b/flang/lib/Semantics/resolve-labels.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-labels.h --------------------------*- C++ -*-===//
+//===-- lib/Semantics/resolve-labels.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/semantics/resolve-names-utils.cpp b/flang/lib/Semantics/resolve-names-utils.cpp
index 3b1a0b6..afc0aac 100644
--- a/flang/lib/semantics/resolve-names-utils.cpp
+++ b/flang/lib/Semantics/resolve-names-utils.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-names-utils.cpp -----------------------------===//
+//===-- lib/Semantics/resolve-names-utils.cpp -----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,17 +7,17 @@
//===----------------------------------------------------------------------===//
#include "resolve-names-utils.h"
-#include "flang/common/Fortran-features.h"
-#include "flang/common/idioms.h"
-#include "flang/common/indirection.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/char-block.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/Fortran-features.h"
+#include "flang/Common/idioms.h"
+#include "flang/Common/indirection.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/char-block.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
#include <initializer_list>
#include <ostream>
#include <variant>
diff --git a/flang/lib/semantics/resolve-names-utils.h b/flang/lib/Semantics/resolve-names-utils.h
index b0748c2..055e47d 100644
--- a/flang/lib/semantics/resolve-names-utils.h
+++ b/flang/lib/Semantics/resolve-names-utils.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-names-utils.h ---------------------*- C++ -*-===//
+//===-- lib/Semantics/resolve-names-utils.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.
@@ -11,10 +11,10 @@
// Utility functions and class for use in resolve-names.cpp.
-#include "flang/parser/message.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/type.h"
+#include "flang/Parser/message.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/type.h"
#include <forward_list>
namespace Fortran::parser {
diff --git a/flang/lib/semantics/resolve-names.cpp b/flang/lib/Semantics/resolve-names.cpp
index 3c322b6..6b9402e 100644
--- a/flang/lib/semantics/resolve-names.cpp
+++ b/flang/lib/Semantics/resolve-names.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-names.cpp -----------------------------------===//
+//===-- lib/Semantics/resolve-names.cpp -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -13,26 +13,26 @@
#include "program-tree.h"
#include "resolve-names-utils.h"
#include "rewrite-parse-tree.h"
-#include "flang/common/Fortran.h"
-#include "flang/common/default-kinds.h"
-#include "flang/common/indirection.h"
-#include "flang/common/restorer.h"
-#include "flang/evaluate/characteristics.h"
-#include "flang/evaluate/common.h"
-#include "flang/evaluate/fold.h"
-#include "flang/evaluate/intrinsics.h"
-#include "flang/evaluate/tools.h"
-#include "flang/evaluate/type.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/attr.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Common/default-kinds.h"
+#include "flang/Common/indirection.h"
+#include "flang/Common/restorer.h"
+#include "flang/Evaluate/characteristics.h"
+#include "flang/Evaluate/common.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Evaluate/intrinsics.h"
+#include "flang/Evaluate/tools.h"
+#include "flang/Evaluate/type.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/attr.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
#include <list>
#include <map>
#include <ostream>
diff --git a/flang/lib/semantics/resolve-names.h b/flang/lib/Semantics/resolve-names.h
index da4907e..8f233ad 100644
--- a/flang/lib/semantics/resolve-names.h
+++ b/flang/lib/Semantics/resolve-names.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/resolve-names.h ---------------------------*- C++ -*-===//
+//===-- lib/Semantics/resolve-names.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/semantics/rewrite-parse-tree.cpp b/flang/lib/Semantics/rewrite-parse-tree.cpp
index 37c5537..761621c 100644
--- a/flang/lib/semantics/rewrite-parse-tree.cpp
+++ b/flang/lib/Semantics/rewrite-parse-tree.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/rewrite-parse-tree.cpp ------------------------------===//
+//===-- lib/Semantics/rewrite-parse-tree.cpp ------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -7,14 +7,14 @@
//===----------------------------------------------------------------------===//
#include "rewrite-parse-tree.h"
-#include "flang/common/indirection.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Common/indirection.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <list>
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/rewrite-parse-tree.h b/flang/lib/Semantics/rewrite-parse-tree.h
index e5ef961..7978fd6 100644
--- a/flang/lib/semantics/rewrite-parse-tree.h
+++ b/flang/lib/Semantics/rewrite-parse-tree.h
@@ -1,4 +1,4 @@
-//===-- lib/semantics/rewrite-parse-tree.h ----------------------*- C++ -*-===//
+//===-- lib/Semantics/rewrite-parse-tree.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/semantics/scope.cpp b/flang/lib/Semantics/scope.cpp
index 9db5995..16ee107 100644
--- a/flang/lib/semantics/scope.cpp
+++ b/flang/lib/Semantics/scope.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/scope.cpp -------------------------------------------===//
+//===-- lib/Semantics/scope.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,10 +6,10 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/scope.h"
-#include "flang/parser/characters.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/type.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Parser/characters.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/type.h"
#include <algorithm>
#include <memory>
#include <sstream>
diff --git a/flang/lib/semantics/semantics.cpp b/flang/lib/Semantics/semantics.cpp
index 16d2eba..058bf22 100644
--- a/flang/lib/semantics/semantics.cpp
+++ b/flang/lib/Semantics/semantics.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/semantics.cpp ---------------------------------------===//
+//===-- lib/Semantics/semantics.cpp ---------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,7 +6,7 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/semantics.h"
+#include "flang/Semantics/semantics.h"
#include "assignment.h"
#include "canonicalize-do.h"
#include "canonicalize-omp.h"
@@ -28,12 +28,12 @@
#include "resolve-labels.h"
#include "resolve-names.h"
#include "rewrite-parse-tree.h"
-#include "flang/common/default-kinds.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/tools.h"
-#include "flang/semantics/expression.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Common/default-kinds.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/tools.h"
+#include "flang/Semantics/expression.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
namespace Fortran::semantics {
diff --git a/flang/lib/semantics/symbol.cpp b/flang/lib/Semantics/symbol.cpp
index d513962..f69748a 100644
--- a/flang/lib/semantics/symbol.cpp
+++ b/flang/lib/Semantics/symbol.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/symbol.cpp ------------------------------------------===//
+//===-- lib/Semantics/symbol.cpp ------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,12 +6,12 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/symbol.h"
-#include "flang/common/idioms.h"
-#include "flang/evaluate/expression.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/tools.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Common/idioms.h"
+#include "flang/Evaluate/expression.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/tools.h"
#include <ostream>
#include <string>
diff --git a/flang/lib/semantics/tools.cpp b/flang/lib/Semantics/tools.cpp
index 8e31a81..b4a2a281e 100644
--- a/flang/lib/semantics/tools.cpp
+++ b/flang/lib/Semantics/tools.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/tools.cpp -------------------------------------------===//
+//===-- lib/Semantics/tools.cpp -------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,17 +6,17 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/parser/tools.h"
-#include "flang/common/Fortran.h"
-#include "flang/common/indirection.h"
-#include "flang/parser/dump-parse-tree.h"
-#include "flang/parser/message.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/semantics.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
-#include "flang/semantics/type.h"
+#include "flang/Parser/tools.h"
+#include "flang/Common/Fortran.h"
+#include "flang/Common/indirection.h"
+#include "flang/Parser/dump-parse-tree.h"
+#include "flang/Parser/message.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/semantics.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
+#include "flang/Semantics/type.h"
#include <algorithm>
#include <set>
#include <sstream>
diff --git a/flang/lib/semantics/type.cpp b/flang/lib/Semantics/type.cpp
index b216261..47158c7 100644
--- a/flang/lib/semantics/type.cpp
+++ b/flang/lib/Semantics/type.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/type.cpp --------------------------------------------===//
+//===-- lib/Semantics/type.cpp --------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,12 +6,12 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/type.h"
-#include "flang/evaluate/fold.h"
-#include "flang/parser/characters.h"
-#include "flang/semantics/scope.h"
-#include "flang/semantics/symbol.h"
-#include "flang/semantics/tools.h"
+#include "flang/Semantics/type.h"
+#include "flang/Evaluate/fold.h"
+#include "flang/Parser/characters.h"
+#include "flang/Semantics/scope.h"
+#include "flang/Semantics/symbol.h"
+#include "flang/Semantics/tools.h"
#include <ostream>
#include <sstream>
diff --git a/flang/lib/semantics/unparse-with-symbols.cpp b/flang/lib/Semantics/unparse-with-symbols.cpp
index 1af5c2a..b4f8919 100644
--- a/flang/lib/semantics/unparse-with-symbols.cpp
+++ b/flang/lib/Semantics/unparse-with-symbols.cpp
@@ -1,4 +1,4 @@
-//===-- lib/semantics/unparse-with-symbols.cpp ----------------------------===//
+//===-- lib/Semantics/unparse-with-symbols.cpp ----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -6,11 +6,11 @@
//
//===----------------------------------------------------------------------===//
-#include "flang/semantics/unparse-with-symbols.h"
-#include "flang/parser/parse-tree-visitor.h"
-#include "flang/parser/parse-tree.h"
-#include "flang/parser/unparse.h"
-#include "flang/semantics/symbol.h"
+#include "flang/Semantics/unparse-with-symbols.h"
+#include "flang/Parser/parse-tree-visitor.h"
+#include "flang/Parser/parse-tree.h"
+#include "flang/Parser/unparse.h"
+#include "flang/Semantics/symbol.h"
#include <map>
#include <ostream>
#include <set>