forked from OSchip/llvm-project
![]() 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 |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
_themes/llvm-theme | ||
ArrayComposition.md | ||
BijectiveInternalNameUniquing.md | ||
C++17.md | ||
C++style.md | ||
CMakeLists.txt | ||
Calls.md | ||
Character.md | ||
ControlFlowGraph.md | ||
Directives.md | ||
DoConcurrent.md | ||
Extensions.md | ||
FIRArrayOperations.md | ||
FlangDriver.md | ||
FortranFeatureHistory.md | ||
FortranForCProgrammers.md | ||
FortranIR.md | ||
FortranLLVMTestSuite.md | ||
GettingInvolved.md | ||
IORuntimeInternals.md | ||
ImplementingASemanticCheck.md | ||
Intrinsics.md | ||
LabelResolution.md | ||
ModFiles.md | ||
OpenMP-4.5-grammar.md | ||
OpenMP-semantics.md | ||
OptionComparison.md | ||
Overview.md | ||
ParserCombinators.md | ||
Parsing.md | ||
Preprocessing.md | ||
PullRequestChecklist.md | ||
ReleaseNotes.md | ||
RuntimeDescriptor.md | ||
RuntimeTypeInfo.md | ||
Semantics.md | ||
compiler_driver.png | ||
conf.py | ||
doxygen-mainpage.dox | ||
doxygen.cfg.in | ||
f2018-grammar.md | ||
flang-c-style.el | ||
frontend_driver.png | ||
index.md |