[PATCH] D113923: [NFC][flang] Inclusive language: remove instances of master

Quinn Pham via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 15 10:53:53 PST 2021


quinnp created this revision.
Herald added a project: Flang.
quinnp requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert.
Herald added a project: LLVM.

[NFC] As part of using inclusive language within the llvm project, this patch:

- replaces master with main in C++style.md to match the renaming of the master

branch,

- removes master from FortranIR.md where it is superfluous,
- removes an unused line from pre-fir-tree04.f90 containing master.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113923

Files:
  flang/docs/C++style.md
  flang/docs/FortranIR.md
  flang/test/Lower/pre-fir-tree04.f90


Index: flang/test/Lower/pre-fir-tree04.f90
===================================================================
--- flang/test/Lower/pre-fir-tree04.f90
+++ flang/test/Lower/pre-fir-tree04.f90
@@ -10,7 +10,6 @@
   type(lock_type) :: alock
   real :: y[10,*]
   integer :: counter[*]
-  logical :: is_master
   ! CHECK: <<ChangeTeamConstruct>>
   change team(t, x[5,*] => y)
     ! CHECK: AssignmentStmt
Index: flang/docs/FortranIR.md
===================================================================
--- flang/docs/FortranIR.md
+++ flang/docs/FortranIR.md
@@ -145,7 +145,7 @@
 
 _Program_: A program instance is the top-level object that contains the representation of all the code being compiled, the compilation unit. It contains a list of procedures and a reference to the global symbol table.
 
-_Procedure_: This is a named Fortran procedure (subroutine or function). It contains a (hierarchical) list of regions. It also owns the master list of all basic blocks for the procedure.
+_Procedure_: This is a named Fortran procedure (subroutine or function). It contains a (hierarchical) list of regions. It also owns a list of all basic blocks for the procedure.
 
 _Region_: A region is owned by a procedure or by another region. A region owns a reference to a scope in the symbol table tree. The list of delineated basic blocks can also be requested from a region.
 
Index: flang/docs/C++style.md
===================================================================
--- flang/docs/C++style.md
+++ flang/docs/C++style.md
@@ -19,7 +19,7 @@
 * Use *clang-format*
 from llvm 7
 on all C++ source and header files before
-every merge to master.  All code layout should be determined
+every merge to main.  All code layout should be determined
 by means of clang-format.
 * Where a clear precedent exists in the project, follow it.
 * Otherwise, where [LLVM's C++ style guide](https://llvm.org/docs/CodingStandards.html#style-issues)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113923.387329.patch
Type: text/x-patch
Size: 1932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211115/2f0c98f3/attachment.bin>


More information about the llvm-commits mailing list