[flang-commits] [flang] [Flang][Doc] Add a FIROperations section (PR #72252)

Kiran Chandramohan via flang-commits flang-commits at lists.llvm.org
Tue Nov 14 05:26:42 PST 2023


https://github.com/kiranchandramohan created https://github.com/llvm/llvm-project/pull/72252

Adding this section ensures that the documentation generated by mlir-tblgen for all the FIR operations are at the correct depth. FIROperations are at depth 3, the new section is at depth 2. This fixes the "Non-consecutive header level increase; H1 to H3" warning in FIRLangRef.md.

>From 66d583fc8f57756f3bf160170bd71e76d865089b Mon Sep 17 00:00:00 2001
From: Kiran Chandramohan <kiran.chandramohan at arm.com>
Date: Tue, 14 Nov 2023 13:15:34 +0000
Subject: [PATCH] [Flang][Doc] Add a FIROperations section

Adding this section ensures that the documentation generated by
mlir-tblgen for all the FIR operations are at the correct depth.
FIROperations are at depth 3, the new section is at depth 2.
This fixes the Non-consecutive header level increase; H1 to H3
in FIRLangRef.md.
---
 flang/docs/FIR/FIRLangRef_Header.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flang/docs/FIR/FIRLangRef_Header.md b/flang/docs/FIR/FIRLangRef_Header.md
index 04df60ed4eb396a..ee51bacec4a22bd 100644
--- a/flang/docs/FIR/FIRLangRef_Header.md
+++ b/flang/docs/FIR/FIRLangRef_Header.md
@@ -1,3 +1,5 @@
 # FIR Language Reference
 
 This page contains an overview of the Fortran IR operations, their syntax, and example usages.
+
+## FIR Operations



More information about the flang-commits mailing list