llvm-project/flang/docs
Diana Picus 45cd405dc0 [flang] Add clang-tidy check for braces around if
Flang diverges from the llvm coding style in that it requires braces
around the bodies of if/while/etc statements, even when the body is
a single statement.

This commit adds the readability-braces-around-statements check to
flang's clang-tidy config file. Hopefully the premerge bots will pick it
up and report violations in Phabricator.

We also explicitly disable the check in the directories corresponding to
the Lower and Optimizer libraries, which rely heavily on mlir and llvm
and therefore follow their coding style. Likewise for the tools
directory.

We also fix any outstanding violations in the runtime and in
lib/Semantics.

Differential Revision: https://reviews.llvm.org/D104100
2021-06-16 09:13:53 +00:00
..
_static
_templates [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
_themes/llvm-theme
ArrayComposition.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
BijectiveInternalNameUniquing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++17.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
C++style.md [flang] Add clang-tidy check for braces around if 2021-06-16 09:13:53 +00:00
CMakeLists.txt
Calls.md [docs][flang] Fix typos 2020-09-21 11:05:58 +05:30
Character.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ControlFlowGraph.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Directives.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
DoConcurrent.md [flang] Document DO CONCURRENT's problems (NFC) 2020-11-12 15:30:43 -08:00
Extensions.md [flang] Accept BOZ in array constructors w/o types 2021-06-03 13:37:11 -07:00
FortranFeatureHistory.md [flang] (NFC) Document Fortran feature history 2021-04-22 11:24:22 -07:00
FortranForCProgrammers.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
FortranIR.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
FortranLLVMTestSuite.md [flang][docs] Initial documentation for the Fortran LLVM Test Suite. 2021-05-26 15:59:55 -05:00
GettingInvolved.md [flang][docs] Update driver sync-up call link 2021-05-20 14:37:28 +00:00
IORuntimeInternals.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ImplementingASemanticCheck.md [flang] Add -fsyntax-only to f18; retain -fparse-only synonym 2021-02-03 09:01:39 -08:00
Intrinsics.md [flang] Tighten rules to resolve procedure as intrinsic procedure 2020-10-26 11:25:40 +01:00
LabelResolution.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ModFiles.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-4.5-grammar.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OpenMP-semantics.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
OptionComparison.md Update OptionComparison.md 2020-11-20 10:33:21 -08:00
Overview.md [flang] Add -fsyntax-only to f18; retain -fparse-only synonym 2021-02-03 09:01:39 -08:00
ParserCombinators.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Parsing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
Preprocessing.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
PullRequestChecklist.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
ReleaseNotes.md [flang] Convert release notes to markdown 2020-09-08 08:47:33 +01:00
RuntimeDescriptor.md [flang] Add new documentation main page 2020-09-11 14:19:51 +01:00
RuntimeTypeInfo.md [flang] Implement derived type description table encoding 2020-12-08 10:26:58 -08:00
Semantics.md [flang] Improve initializer semantics, esp. for component default values 2020-12-07 14:40:41 -08:00
conf.py [Flang][Docs] Fix warnings when building docs. 2020-11-10 22:24:49 +05:30
doxygen-mainpage.dox [flang] Fix link to old repo location in doxygen mainpage. NFC. 2020-09-07 16:43:08 +01:00
doxygen.cfg.in
f2018-grammar.md [flang] Correct handling of null pointer initializers 2020-11-18 13:57:25 -08:00
flang-c-style.el [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
index.md [flang][docs] Initial documentation for the Fortran LLVM Test Suite. 2021-05-26 15:59:55 -05:00