llvm-project/flang/documentation
Tim Keith 08c7d570d3 [flang] Add options to control IMPLICIT NONE
Add `-fimplicit-none-type-always` to treat each specification-part
like it has `IMPLICIT NONE`. This is helpful for enforcing good Fortran
programming practices. We might consider something similar for
`IMPLICIT NONE(EXTERNAL)` as well.

Add `-fimplicit-none-type-never` to ignore occurrences of `IMPLICIT NONE`
and `IMPLICIT NONE(TYPE)`. This is to handle cases like the one below,
which violates the standard but it accepted by some compilers:
```
subroutine s(a, n)
  implicit none
  real :: a(n)
  integer :: n
end
```

Differential Revision: https://reviews.llvm.org/D85363
2020-08-06 06:48:01 -07:00
..
ArrayComposition.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
BijectiveInternalNameUniquing.md [flang]Add examples in documentation/BijectiveInternalNameUniquing.md 2020-05-08 00:01:35 +05:30
C++17.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
C++style.md [flang] Remove non-alignment based divergences from LLVM formatting. 2020-03-23 17:52:22 +00:00
Calls.md [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
Character.md [flang] Define CHARACTER runtime API, establish placeholder implementations 2020-04-02 09:38:25 -07:00
ControlFlowGraph.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
Directives.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
Extensions.md [flang] Add options to control IMPLICIT NONE 2020-08-06 06:48:01 -07:00
FortranForCProgrammers.md [flang] DATA stmt processing (part 3/4): Remaining prep work 2020-06-19 09:09:05 -07:00
FortranIR.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
IORuntimeInternals.md [flang] Use hash table for UnitMap, avoid C++ STL binary dependence 2020-03-11 13:23:39 -07:00
ImplementingASemanticCheck.md [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
Intrinsics.md [flang] Make 'num_images()' intrinsic 2020-07-07 12:31:10 -07:00
LabelResolution.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
ModFiles.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
OpenMP-4.5-grammar.txt [flang] Minor format change to LLVM license lines 2020-01-10 12:12:03 -08:00
OpenMP-semantics.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
OptionComparison.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
Overview.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
ParserCombinators.md [flang] Dodge bogus uninitialized data warning from gcc 10.1 via code cleanup 2020-06-12 10:05:05 -07:00
Parsing.md [flang] Added documentation explaining the use of std::list (flang-compiler/f18#988) 2020-03-12 09:38:59 -07:00
Preprocessing.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
PullRequestChecklist.md [flang] Remove non-alignment based divergences from LLVM formatting. 2020-03-23 17:52:22 +00:00
RuntimeDescriptor.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
Semantics.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08:00
f2018-grammar.txt [flang] Minor format change to LLVM license lines 2020-01-10 12:12:03 -08:00
flang-c-style.el [flang] Minor format change to LLVM license lines 2020-01-10 12:12:03 -08:00