llvm/flang/documentation
peter klausler a0226f9bff [flang] Dodge bogus uninitialized data warning from gcc 10.1 via code cleanup
G++ 10.1 emits inappropriate "use of uninitialized data" warnings when
compiling f18.  The warnings stem from two sites in templatized code
whose multiple instantiations magnified the number of warnings.

These changes dodge those warnings by making some innocuous changes to
the code.  In the parser, the idiom defaulted(cut >> x), which yields a
parser that always succeeds, has been replaced with a new equivalent
pass<T>() parser that returns a default-constructed value T{} in an
arguably more readable fashion.  This idiom was the only attestation of
the basic parser cut, so it has been removed and the remaining code
simplified.  In Evaluate/traverse.h, a return {}; was replaced with a
return of a default-constructed member.

Differential Revision: https://reviews.llvm.org/D81747
2020-06-12 10:05:05 -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] More comments addressed 2020-01-13 15:13:09 -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
FortranForCProgrammers.md [flang] Progress on Fortran I/O runtime 2020-02-13 10:31:26 -08:00
FortranIR.md [flang] Flang relicensing changes for LLVM Apache 2.0 license 2019-12-23 10:26:16 -08: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] 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
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