[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@d2eb7a1c44 Reviewed-on: https://github.com/flang-compiler/f18/pull/980
This commit is contained in:
parent
456a61d188
commit
64ab3302d5
655 changed files with 905 additions and 905 deletions
|
|
@ -219,7 +219,7 @@ or assignments should exist for a class, explicitly `=delete` all of them.
|
|||
There are many -- perhaps too many -- means of indirect addressing
|
||||
data in this project.
|
||||
Some of these are standard C++ language and library features,
|
||||
while others are local inventions in `lib/common`:
|
||||
while others are local inventions in `lib/Common`:
|
||||
* Bare pointers (`Foo *p`): these are obviously nullable, non-owning,
|
||||
undefined when uninitialized, shallowly copyable, reassignable, and often
|
||||
not the right abstraction to use in this project.
|
||||
|
|
|
|||
|
|
@ -111,9 +111,9 @@ checking had already taken place.
|
|||
Most semantic checks for statements are implemented by walking the parse tree
|
||||
and performing analysis on the nodes they visit. My plan was to use this
|
||||
method. The infrastructure for walking the parse tree for statement semantic
|
||||
checking is implemented in the files `lib/semantics/semantics.cpp`.
|
||||
checking is implemented in the files `lib/Semantics/semantics.cpp`.
|
||||
Here's a fragment of the declaration of the framework's parse tree visitor from
|
||||
`lib/semantics/semantics.cpp`:
|
||||
`lib/Semantics/semantics.cpp`:
|
||||
|
||||
```C++
|
||||
// A parse tree visitor that calls Enter/Leave functions from each checker
|
||||
|
|
@ -136,7 +136,7 @@ Here's a fragment of the declaration of the framework's parse tree visitor from
|
|||
Since FUNCTION calls are a kind of expression, I was planning to base my
|
||||
implementation on the contents of `parser::Expr` nodes. I would need to define
|
||||
either an `Enter()` or `Leave()` function whose parameter was a `parser::Expr`
|
||||
node. Here's the declaration I put into `lib/semantics/check-do.h`:
|
||||
node. Here's the declaration I put into `lib/Semantics/check-do.h`:
|
||||
|
||||
```C++
|
||||
void Leave(const parser::Expr &);
|
||||
|
|
@ -148,12 +148,12 @@ arbitrarily chose to implement the `Leave()` function to visit the parse tree
|
|||
node.
|
||||
|
||||
Since my semantic check was focused on DO CONCURRENT statements, I added it to
|
||||
the file `lib/semantics/check-do.cpp` where most of the semantic checking for
|
||||
the file `lib/Semantics/check-do.cpp` where most of the semantic checking for
|
||||
DO statements already lived.
|
||||
|
||||
## Taking advantage of prior work
|
||||
When implementing a similar check for SUBROUTINE calls, I created a utility
|
||||
functions in `lib/semantics/semantics.cpp` to emit messages if
|
||||
functions in `lib/Semantics/semantics.cpp` to emit messages if
|
||||
a symbol corresponding to an active DO variable was being potentially modified:
|
||||
|
||||
```C++
|
||||
|
|
@ -176,7 +176,7 @@ functions. The second is needed to determine whether to call them.
|
|||
## Finding the source location
|
||||
The source code location information that I'd need for the error message must
|
||||
come from the parse tree. I looked in the file
|
||||
`include/flang/parser/parse-tree.h` and determined that a `struct Expr`
|
||||
`include/flang/Parser/parse-tree.h` and determined that a `struct Expr`
|
||||
contained source location information since it had the field `CharBlock
|
||||
source`. Thus, if I visited a `parser::Expr` node, I could get the source
|
||||
location information for the associated expression.
|
||||
|
|
@ -184,7 +184,7 @@ location information for the associated expression.
|
|||
## Determining the `INTENT`
|
||||
I knew that I could find the `INTENT` of the dummy argument associated with the
|
||||
actual argument from the function called `dummyIntent()` in the class
|
||||
`evaluate::ActualArgument` in the file `include/flang/evaluate/call.h`. So
|
||||
`evaluate::ActualArgument` in the file `include/flang/Evaluate/call.h`. So
|
||||
if I could find an `evaluate::ActualArgument` in an expression, I could
|
||||
determine the `INTENT` of the associated dummy argument. I knew that it was
|
||||
valid to call `dummyIntent()` because the data on which `dummyIntent()`
|
||||
|
|
@ -216,12 +216,12 @@ find all of the `evaluate::ActualArgument` nodes.
|
|||
|
||||
Note that the compiler has multiple types called `Expr`. One is in the
|
||||
`parser` namespace. `parser::Expr` is defined in the file
|
||||
`include/flang/parser/parse-tree.h`. It represents a parsed expression that
|
||||
`include/flang/Parser/parse-tree.h`. It represents a parsed expression that
|
||||
maps directly to the source code and has fields that specify any operators in
|
||||
the expression, the operands, and the source position of the expression.
|
||||
|
||||
Additionally, in the namespace `evaluate`, there are `evaluate::Expr<T>`
|
||||
template classes defined in the file `include/flang/evaluate/expression.h`.
|
||||
template classes defined in the file `include/flang/Evaluate/expression.h`.
|
||||
These are parameterized over the various types of Fortran and constitute a
|
||||
suite of strongly-typed representations of valid Fortran expressions of type
|
||||
`T` that have been fully elaborated with conversion operations and subjected to
|
||||
|
|
@ -231,7 +231,7 @@ owns an instance of `evaluate::Expr<SomeType>`, the most general representation
|
|||
of an analyzed expression.
|
||||
|
||||
All of the declarations associated with both FUNCTION and SUBROUTINE calls are
|
||||
in `include/flang/evaluate/call.h`. An `evaluate::FunctionRef` inherits from
|
||||
in `include/flang/Evaluate/call.h`. An `evaluate::FunctionRef` inherits from
|
||||
an `evaluate::ProcedureRef` which contains the list of
|
||||
`evaluate::ActualArgument` nodes. But the relationship between an
|
||||
`evaluate::FunctionRef` node and its associated arguments is not relevant. I
|
||||
|
|
@ -269,16 +269,16 @@ argument was an active DO variable.
|
|||
## Adding a parse tree visitor
|
||||
I started my implementation by adding a visitor for `parser::Expr` nodes.
|
||||
Since this analysis is part of DO construct checking, I did this in
|
||||
`lib/semantics/check-do.cpp`. I added a print statement to the visitor to
|
||||
`lib/Semantics/check-do.cpp`. I added a print statement to the visitor to
|
||||
verify that my new code was actually getting executed.
|
||||
|
||||
In `lib/semantics/check-do.h`, I added the declaration for the visitor:
|
||||
In `lib/Semantics/check-do.h`, I added the declaration for the visitor:
|
||||
|
||||
```C++
|
||||
void Leave(const parser::Expr &);
|
||||
```
|
||||
|
||||
In `lib/semantics/check-do.cpp`, I added an (almost empty) implementation:
|
||||
In `lib/Semantics/check-do.cpp`, I added an (almost empty) implementation:
|
||||
|
||||
```C++
|
||||
void DoChecker::Leave(const parser::Expr &) {
|
||||
|
|
@ -316,7 +316,7 @@ framework to walk the `evaluate::Expr` to gather all of the
|
|||
`evaluate::ActualArgument` nodes. The code that I planned to model it on
|
||||
was the existing infrastructure that collected all of the `semantics::Symbol` nodes from an
|
||||
`evaluate::Expr`. I found this implementation in
|
||||
`lib/evaluate/tools.cpp`:
|
||||
`lib/Evaluate/tools.cpp`:
|
||||
|
||||
```C++
|
||||
struct CollectSymbolsHelper
|
||||
|
|
@ -334,7 +334,7 @@ was the existing infrastructure that collected all of the `semantics::Symbol` no
|
|||
```
|
||||
|
||||
Note that the `CollectSymbols()` function returns a `semantics::Symbolset`,
|
||||
which is declared in `include/flang/semantics/symbol.h`:
|
||||
which is declared in `include/flang/Semantics/symbol.h`:
|
||||
|
||||
```C++
|
||||
using SymbolSet = std::set<SymbolRef>;
|
||||
|
|
@ -356,11 +356,11 @@ full `semantics::Symbol` objects into the set. Ideally, we would be able to cre
|
|||
`std::set<Symbol &>` (a set of C++ references to symbols). But C++ doesn't
|
||||
support sets that contain references. This limitation is part of the rationale
|
||||
for the f18 implementation of type `common::Reference`, which is defined in
|
||||
`include/flang/common/reference.h`.
|
||||
`include/flang/Common/reference.h`.
|
||||
|
||||
`SymbolRef`, the specialization of the template `common::Reference` for
|
||||
`semantics::Symbol`, is declared in the file
|
||||
`include/flang/semantics/symbol.h`:
|
||||
`include/flang/Semantics/symbol.h`:
|
||||
|
||||
```C++
|
||||
using SymbolRef = common::Reference<const Symbol>;
|
||||
|
|
@ -370,7 +370,7 @@ So to implement something that would collect `evaluate::ActualArgument`
|
|||
nodes from an `evaluate::Expr`, I first defined the required types
|
||||
`ActualArgumentRef` and `ActualArgumentSet`. Since these are being
|
||||
used exclusively for DO construct semantic checking (currently), I put their
|
||||
definitions into `lib/semantics/check-do.cpp`:
|
||||
definitions into `lib/Semantics/check-do.cpp`:
|
||||
|
||||
|
||||
```C++
|
||||
|
|
@ -386,7 +386,7 @@ Since `ActualArgument` is in the namespace `evaluate`, I put the
|
|||
definition for `ActualArgumentRef` in that namespace, too.
|
||||
|
||||
I then modeled the code to create an `ActualArgumentSet` after the code to
|
||||
collect a `SymbolSet` and put it into `lib/semantics/check-do.cpp`:
|
||||
collect a `SymbolSet` and put it into `lib/Semantics/check-do.cpp`:
|
||||
|
||||
|
||||
```C++
|
||||
|
|
@ -525,8 +525,8 @@ symbol table node (`semantics::Symbol`) for the variable. My starting point was
|
|||
`evaluate::ActualArgument` node.
|
||||
|
||||
I was unsure of how to do this, so I browsed through existing code to look for
|
||||
how it treated `evaluate::ActualArgument` objects. Since most of the code that deals with the `evaluate` namespace is in the lib/evaluate directory, I looked there. I ran `grep` on all of the `.cpp` files looking for
|
||||
uses of `ActualArgument`. One of the first hits I got was in `lib/evaluate/call.cpp` in the definition of `ActualArgument::GetType()`:
|
||||
how it treated `evaluate::ActualArgument` objects. Since most of the code that deals with the `evaluate` namespace is in the lib/Evaluate directory, I looked there. I ran `grep` on all of the `.cpp` files looking for
|
||||
uses of `ActualArgument`. One of the first hits I got was in `lib/Evaluate/call.cpp` in the definition of `ActualArgument::GetType()`:
|
||||
|
||||
```C++
|
||||
std::optional<DynamicType> ActualArgument::GetType() const {
|
||||
|
|
@ -544,7 +544,7 @@ I noted the call to `UnwrapExpr()` that yielded a value of
|
|||
`Expr<SomeType>`. So I guessed that I could use this member function to
|
||||
get an `evaluate::Expr<SomeType>` on which I could perform further analysis.
|
||||
|
||||
I also knew that the header file `include/flang/evaluate/tools.h` held many
|
||||
I also knew that the header file `include/flang/Evaluate/tools.h` held many
|
||||
utility functions for dealing with `evaluate::Expr` objects. I was hoping to
|
||||
find something that would determine if an `evaluate::Expr` was a variable. So
|
||||
I searched for `IsVariable` and got a hit immediately.
|
||||
|
|
@ -560,7 +560,7 @@ I searched for `IsVariable` and got a hit immediately.
|
|||
|
||||
But I actually needed more than just the knowledge that an `evaluate::Expr` was
|
||||
a variable. I needed the `semantics::Symbol` associated with the variable. So
|
||||
I searched in `include/flang/evaluate/tools.h` for functions that returned a
|
||||
I searched in `include/flang/Evaluate/tools.h` for functions that returned a
|
||||
`semantics::Symbol`. I found the following:
|
||||
|
||||
```C++
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/Fortran-features.h -----------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/Fortran-features.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_COMMON_FORTRAN_FEATURES_H_
|
||||
#define FORTRAN_COMMON_FORTRAN_FEATURES_H_
|
||||
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/enum-set.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/enum-set.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
|
||||
namespace Fortran::common {
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/Fortran.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/Fortran.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/bit-population-count.h -------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/bit-population-count.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/constexpr-bitset.h -----------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/constexpr-bitset.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/default-kinds.h --------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/default-kinds.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_COMMON_DEFAULT_KINDS_H_
|
||||
#define FORTRAN_COMMON_DEFAULT_KINDS_H_
|
||||
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include <cstdint>
|
||||
|
||||
namespace Fortran::common {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/enum-set.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/enum-set.h -------------------------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/format.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/format.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.
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
#define FORTRAN_COMMON_FORMAT_H_
|
||||
|
||||
#include "enum-set.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include <cstring>
|
||||
|
||||
// Define a FormatValidator class template to validate a format expression
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/idioms.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/idioms.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/indirection.h ----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/indirection.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/interval.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/interval.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/leading-zero-bit-count.h -----------*- C++ -*-===//
|
||||
//===-- include/flang/Common/leading-zero-bit-count.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/real.h -----------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/real.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/reference-counted.h ----------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/reference-counted.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/reference.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/reference.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/restorer.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/restorer.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/template.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/template.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_COMMON_TEMPLATE_H_
|
||||
#define FORTRAN_COMMON_TEMPLATE_H_
|
||||
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include <tuple>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/uint128.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/uint128.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/unsigned-const-division.h ----------*- C++ -*-===//
|
||||
//===-- include/flang/Common/unsigned-const-division.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/common/unwrap.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Common/unwrap.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/decimal/binary-floating-point.h -----------*- C++ -*-===//
|
||||
//===-- include/flang/Decimal/binary-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.
|
||||
|
|
@ -12,8 +12,8 @@
|
|||
// Access and manipulate the fields of an IEEE-754 binary
|
||||
// floating-point value via a generalized template.
|
||||
|
||||
#include "flang/common/real.h"
|
||||
#include "flang/common/uint128.h"
|
||||
#include "flang/Common/real.h"
|
||||
#include "flang/Common/uint128.h"
|
||||
#include <cinttypes>
|
||||
#include <climits>
|
||||
#include <cstring>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/*===-- include/flang/decimal/decimal.h ---------------------------*- C++ -*-===
|
||||
/*===-- include/flang/Decimal/decimal.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/call.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/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.
|
||||
|
|
@ -13,10 +13,10 @@
|
|||
#include "constant.h"
|
||||
#include "formatting.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/common/reference.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/semantics/attr.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Common/reference.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include "flang/Semantics/attr.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/characteristics.h ----------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/characteristics.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,12 +17,12 @@
|
|||
#include "expression.h"
|
||||
#include "shape.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/enum-set.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/semantics/symbol.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/enum-set.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include "flang/Semantics/symbol.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/check-expression.h ---------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/check-expression.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/common.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/common.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.
|
||||
|
|
@ -10,14 +10,14 @@
|
|||
#define FORTRAN_EVALUATE_COMMON_H_
|
||||
|
||||
#include "intrinsics-library.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/default-kinds.h"
|
||||
#include "flang/common/enum-set.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/common/restorer.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/default-kinds.h"
|
||||
#include "flang/Common/enum-set.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Common/restorer.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include <cinttypes>
|
||||
#include <map>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/complex.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/complex.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/constant.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/constant.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,8 +11,8 @@
|
|||
|
||||
#include "formatting.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/default-kinds.h"
|
||||
#include "flang/common/reference.h"
|
||||
#include "flang/Common/default-kinds.h"
|
||||
#include "flang/Common/reference.h"
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
#include <vector>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/expression.h ---------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/expression.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,11 +21,11 @@
|
|||
#include "formatting.h"
|
||||
#include "type.h"
|
||||
#include "variable.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/common/template.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Common/template.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
#include <ostream>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/fold.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/fold.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/formatting.h ---------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/formatting.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 @@
|
|||
|
||||
// It is inconvenient in C++ to have std::ostream::operator<<() as a direct
|
||||
// friend function of a class template with many instantiations, so the
|
||||
// various representational class templates in lib/evaluate format themselves
|
||||
// various representational class templates in lib/Evaluate format themselves
|
||||
// via AsFortran(std::ostream &) member functions, which the operator<<()
|
||||
// overload below will call. Others have AsFortran() member functions that
|
||||
// return strings.
|
||||
|
|
@ -19,7 +19,7 @@
|
|||
// This header is meant to be included by the headers that define the several
|
||||
// representational class templates that need it, not by external clients.
|
||||
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <type_traits>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/integer.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/integer.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 @@
|
|||
// (*"Signed" here means two's-complement, just to be clear. Ones'-complement
|
||||
// and signed-magnitude encodings appear to be extinct in 2018.)
|
||||
|
||||
#include "flang/common/bit-population-count.h"
|
||||
#include "flang/common/leading-zero-bit-count.h"
|
||||
#include "flang/evaluate/common.h"
|
||||
#include "flang/Common/bit-population-count.h"
|
||||
#include "flang/Common/leading-zero-bit-count.h"
|
||||
#include "flang/Evaluate/common.h"
|
||||
#include <cinttypes>
|
||||
#include <climits>
|
||||
#include <cstddef>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/intrinsics-library.h -------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/intrinsics-library.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/intrinsics.h ---------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/intrinsics.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,9 +12,9 @@
|
|||
#include "call.h"
|
||||
#include "characteristics.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/default-kinds.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/Common/default-kinds.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/logical.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/logical.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/real.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/real.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,8 +12,8 @@
|
|||
#include "formatting.h"
|
||||
#include "integer.h"
|
||||
#include "rounding-bits.h"
|
||||
#include "flang/common/real.h"
|
||||
#include "flang/evaluate/common.h"
|
||||
#include "flang/Common/real.h"
|
||||
#include "flang/Evaluate/common.h"
|
||||
#include <cinttypes>
|
||||
#include <limits>
|
||||
#include <ostream>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/rounding-bits.h ------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/rounding-bits.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/shape.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/shape.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,9 +15,9 @@
|
|||
#include "expression.h"
|
||||
#include "traverse.h"
|
||||
#include "variable.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/evaluate/tools.h"
|
||||
#include "flang/evaluate/type.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Evaluate/tools.h"
|
||||
#include "flang/Evaluate/type.h"
|
||||
#include <optional>
|
||||
#include <variant>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/static-data.h --------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/static-data.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,7 +13,7 @@
|
|||
|
||||
#include "formatting.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include <cinttypes>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/tools.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/tools.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.
|
||||
|
|
@ -10,14 +10,14 @@
|
|||
#define FORTRAN_EVALUATE_TOOLS_H_
|
||||
|
||||
#include "traverse.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/template.h"
|
||||
#include "flang/common/unwrap.h"
|
||||
#include "flang/evaluate/constant.h"
|
||||
#include "flang/evaluate/expression.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/semantics/attr.h"
|
||||
#include "flang/semantics/symbol.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/template.h"
|
||||
#include "flang/Common/unwrap.h"
|
||||
#include "flang/Evaluate/constant.h"
|
||||
#include "flang/Evaluate/expression.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include "flang/Semantics/attr.h"
|
||||
#include "flang/Semantics/symbol.h"
|
||||
#include <array>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/traverse.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/traverse.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.
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
// - Overloads of operator() in each visitor handle the cases of interest.
|
||||
|
||||
#include "expression.h"
|
||||
#include "flang/semantics/symbol.h"
|
||||
#include "flang/semantics/type.h"
|
||||
#include "flang/Semantics/symbol.h"
|
||||
#include "flang/Semantics/type.h"
|
||||
#include <set>
|
||||
#include <type_traits>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/type.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/type.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,9 +22,9 @@
|
|||
#include "integer.h"
|
||||
#include "logical.h"
|
||||
#include "real.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/template.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/template.h"
|
||||
#include <cinttypes>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/evaluate/variable.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Evaluate/variable.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.
|
||||
|
|
@ -20,10 +20,10 @@
|
|||
#include "formatting.h"
|
||||
#include "static-data.h"
|
||||
#include "type.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/reference.h"
|
||||
#include "flang/common/template.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/reference.h"
|
||||
#include "flang/Common/template.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <variant>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/lower/PFTBuilder.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Lower/PFTBuilder.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_LOWER_PFT_BUILDER_H_
|
||||
#define FORTRAN_LOWER_PFT_BUILDER_H_
|
||||
|
||||
#include "flang/common/template.h"
|
||||
#include "flang/parser/parse-tree.h"
|
||||
#include "flang/Common/template.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <memory>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/char-block.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/char-block.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 @@
|
|||
|
||||
// Describes a contiguous block of characters; does not own their storage.
|
||||
|
||||
#include "flang/common/interval.h"
|
||||
#include "flang/Common/interval.h"
|
||||
#include <algorithm>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/char-buffer.h ----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/char-buffer.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/char-set.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/char-set.h -------------------------*- C++ -*-===//
|
||||
//
|
||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
||||
// See https://llvm.org/LICENSE.txt for license information.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/characters.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/characters.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/dump-parse-tree.h ------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/dump-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.
|
||||
|
|
@ -13,8 +13,8 @@
|
|||
#include "parse-tree-visitor.h"
|
||||
#include "parse-tree.h"
|
||||
#include "unparse.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include <ostream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/format-specification.h -------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/format-specification.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/instrumented-parser.h --------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/instrumented-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.
|
||||
|
|
@ -11,8 +11,8 @@
|
|||
|
||||
#include "parse-state.h"
|
||||
#include "user-state.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/parser/provenance.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include "flang/Parser/provenance.h"
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <ostream>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/message.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/message.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,9 +15,9 @@
|
|||
#include "char-block.h"
|
||||
#include "char-set.h"
|
||||
#include "provenance.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/reference-counted.h"
|
||||
#include "flang/common/restorer.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/reference-counted.h"
|
||||
#include "flang/Common/restorer.h"
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <forward_list>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/parse-state.h ----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/parse-state.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,11 +16,11 @@
|
|||
// and recovery during parsing!
|
||||
|
||||
#include "user-state.h"
|
||||
#include "flang/common/Fortran-features.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/parser/characters.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/parser/provenance.h"
|
||||
#include "flang/Common/Fortran-features.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Parser/characters.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include "flang/Parser/provenance.h"
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
#include <list>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/parse-tree-visitor.h ---------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/parse-tree-visitor.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/parse-tree.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/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.
|
||||
|
|
@ -22,9 +22,9 @@
|
|||
#include "format-specification.h"
|
||||
#include "message.h"
|
||||
#include "provenance.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include <cinttypes>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/parsing.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/parsing.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 @@
|
|||
#include "message.h"
|
||||
#include "parse-tree.h"
|
||||
#include "provenance.h"
|
||||
#include "flang/common/Fortran-features.h"
|
||||
#include "flang/Common/Fortran-features.h"
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/provenance.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/provenance.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 @@
|
|||
#include "char-buffer.h"
|
||||
#include "characters.h"
|
||||
#include "source.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/interval.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/interval.h"
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/source.h ---------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/source.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/tools.h ----------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/tools.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/unparse.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/unparse.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.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/parser/user-state.h -----------------------*- C++ -*-===//
|
||||
//===-- include/flang/Parser/user-state.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,10 +14,10 @@
|
|||
// parse tree construction so as to avoid any need for representing
|
||||
// state in static data.
|
||||
|
||||
#include "flang/common/Fortran-features.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/parser/parse-tree.h"
|
||||
#include "flang/Common/Fortran-features.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include <cinttypes>
|
||||
#include <optional>
|
||||
#include <ostream>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/attr.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/attr.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_ATTR_H_
|
||||
#define FORTRAN_SEMANTICS_ATTR_H_
|
||||
|
||||
#include "flang/common/enum-set.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/Common/enum-set.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include <cinttypes>
|
||||
#include <string>
|
||||
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/expression.h --------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/expression.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.
|
||||
|
|
@ -10,17 +10,17 @@
|
|||
#define FORTRAN_SEMANTICS_EXPRESSION_H_
|
||||
|
||||
#include "semantics.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/indirection.h"
|
||||
#include "flang/evaluate/characteristics.h"
|
||||
#include "flang/evaluate/check-expression.h"
|
||||
#include "flang/evaluate/expression.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-visitor.h"
|
||||
#include "flang/parser/parse-tree.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/indirection.h"
|
||||
#include "flang/Evaluate/characteristics.h"
|
||||
#include "flang/Evaluate/check-expression.h"
|
||||
#include "flang/Evaluate/expression.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-visitor.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <variant>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/scope.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/scope.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,11 +11,11 @@
|
|||
|
||||
#include "attr.h"
|
||||
#include "symbol.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/common/reference.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/parser/provenance.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Common/reference.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include "flang/Parser/provenance.h"
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <optional>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/semantics.h ---------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/semantics.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 @@
|
|||
|
||||
#include "scope.h"
|
||||
#include "symbol.h"
|
||||
#include "flang/common/Fortran-features.h"
|
||||
#include "flang/evaluate/common.h"
|
||||
#include "flang/evaluate/intrinsics.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/Common/Fortran-features.h"
|
||||
#include "flang/Evaluate/common.h"
|
||||
#include "flang/Evaluate/intrinsics.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include <iosfwd>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/symbol.h ------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/symbol.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.
|
||||
|
|
@ -10,9 +10,9 @@
|
|||
#define FORTRAN_SEMANTICS_SYMBOL_H_
|
||||
|
||||
#include "type.h"
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/enum-set.h"
|
||||
#include "flang/common/reference.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/enum-set.h"
|
||||
#include "flang/Common/reference.h"
|
||||
#include <array>
|
||||
#include <list>
|
||||
#include <optional>
|
||||
|
|
@ -702,7 +702,7 @@ private:
|
|||
};
|
||||
|
||||
// Define a few member functions here in the header so that they
|
||||
// can be used by lib/evaluate without inducing a dependence cycle
|
||||
// can be used by lib/Evaluate without inducing a dependence cycle
|
||||
// between the two shared libraries.
|
||||
|
||||
inline bool ProcEntityDetails::HasExplicitInterface() const {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/tools.h -------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/tools.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,15 +12,15 @@
|
|||
// Simple predicates and look-up functions that are best defined
|
||||
// canonically for use in semantic checking.
|
||||
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/evaluate/expression.h"
|
||||
#include "flang/evaluate/type.h"
|
||||
#include "flang/evaluate/variable.h"
|
||||
#include "flang/parser/message.h"
|
||||
#include "flang/parser/parse-tree.h"
|
||||
#include "flang/semantics/attr.h"
|
||||
#include "flang/semantics/expression.h"
|
||||
#include "flang/semantics/semantics.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Evaluate/expression.h"
|
||||
#include "flang/Evaluate/type.h"
|
||||
#include "flang/Evaluate/variable.h"
|
||||
#include "flang/Parser/message.h"
|
||||
#include "flang/Parser/parse-tree.h"
|
||||
#include "flang/Semantics/attr.h"
|
||||
#include "flang/Semantics/expression.h"
|
||||
#include "flang/Semantics/semantics.h"
|
||||
#include <functional>
|
||||
|
||||
namespace Fortran::semantics {
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/type.h --------------------------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/type.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_TYPE_H_
|
||||
#define FORTRAN_SEMANTICS_TYPE_H_
|
||||
|
||||
#include "flang/common/Fortran.h"
|
||||
#include "flang/common/idioms.h"
|
||||
#include "flang/evaluate/expression.h"
|
||||
#include "flang/parser/char-block.h"
|
||||
#include "flang/Common/Fortran.h"
|
||||
#include "flang/Common/idioms.h"
|
||||
#include "flang/Evaluate/expression.h"
|
||||
#include "flang/Parser/char-block.h"
|
||||
#include <algorithm>
|
||||
#include <iosfwd>
|
||||
#include <map>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
//===-- include/flang/semantics/unparse-with-symbols.h ----------*- C++ -*-===//
|
||||
//===-- include/flang/Semantics/unparse-with-symbols.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_UNPARSE_WITH_SYMBOLS_H_
|
||||
#define FORTRAN_SEMANTICS_UNPARSE_WITH_SYMBOLS_H_
|
||||
|
||||
#include "flang/parser/characters.h"
|
||||
#include "flang/Parser/characters.h"
|
||||
#include <iosfwd>
|
||||
|
||||
namespace Fortran::parser {
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
@ -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.
|
||||
|
|
@ -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>
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
@ -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.
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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 {
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
@ -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.
|
||||
|
|
@ -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.
|
||||
|
|
@ -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>
|
||||
|
|
@ -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.
|
||||
|
|
@ -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 {
|
||||
|
||||
|
|
@ -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.
|
||||
|
|
@ -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 {
|
||||
|
|
@ -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 {
|
||||
|
|
@ -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>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue