llvm-project/flang/docs
Peter Klausler ac77649951 [flang] Avoid spurious warnings in pedantic mode from FORMAT items
In free form source, pedantic mode will elicit portability warnings
about missing spaces when a token string ends with a character that
can be in an identifier and there is no space between that last token
character and a following character that can also be part of an identifier.

This behavior doesn't really work well for the token strings that are
parsed for edit descriptors in FORMAT statements.  For example, the
'F' in FORMAT(F7.3) is followed by a digit, but obviously no space is
necessary.  Free form or not, FORMATs are their own odd little world.

This patch adds trailing blanks to these FORMAT edit descriptor token
parsers to disable the missing space check, and extends the documentation
for token string parsing to explain why this technique works.

Differential Revision: https://reviews.llvm.org/D129023
2022-07-06 18:54:11 -07:00
..
_static
_templates
_themes/llvm-theme
ArrayComposition.md
BijectiveInternalNameUniquing.md
C++17.md
C++style.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
CMakeLists.txt
Calls.md
Character.md
ControlFlowGraph.md
Directives.md
DoConcurrent.md
Extensions.md [flang][docs] Document non-supported VMS extensions 2022-06-15 14:55:47 -07:00
FIRArrayOperations.md [fir] Add array operations documentation 2022-01-21 09:56:54 +01:00
FlangDriver.md [flang][driver] Remove references to the `flang` bash script 2022-06-06 13:05:18 +00:00
FortranFeatureHistory.md [flang] (NFC) Document Fortran feature history 2021-04-22 11:24:22 -07:00
FortranForCProgrammers.md
FortranIR.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
FortranLLVMTestSuite.md [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC 2022-06-03 08:19:10 +00:00
GettingInvolved.md [flang] Update Google Doc link for Flang Biweekly Sync call notes 2022-04-29 12:35:01 -06:00
IORuntimeInternals.md
ImplementingASemanticCheck.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
Intrinsics.md [flang] Add failed_images to list of intrinsics and add test 2022-06-14 14:13:33 -07:00
LabelResolution.md
ModFiles.md
OpenMP-4.5-grammar.md
OpenMP-semantics.md
OptionComparison.md
Overview.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
ParserCombinators.md [flang] Avoid spurious warnings in pedantic mode from FORMAT items 2022-07-06 18:54:11 -07:00
Parsing.md [flang] Add nonfatal message classes 2022-03-08 11:40:45 -08:00
Preprocessing.md
PullRequestChecklist.md
ReleaseNotes.md [clang][flang] Disable defaulting to `-fpie` for LLVM Flang 2022-06-29 07:53:06 +00:00
RuntimeDescriptor.md
RuntimeTypeInfo.md
Semantics.md
compiler_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
conf.py
doxygen-mainpage.dox
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06:00
f2018-grammar.md
flang-c-style.el
frontend_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
index.md [flang][docs] Update the top "doc" page 2022-02-24 10:41:53 +00:00