[PATCH] D114090: [NFC] Inclusive language: rename master flag to main flag
Quinn Pham via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 17 07:45:40 PST 2021
quinnp created this revision.
Herald added subscribers: pengfei, hiraditya.
quinnp requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.
[NFC] As part of using inclusive language within the llvm project, this patch
renames master flag to main flag in these comments.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D114090
Files:
clang/lib/Driver/ToolChains/Clang.cpp
llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
Index: llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
===================================================================
--- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@ -148,7 +148,7 @@
AlignBranchType.addKind(X86::AlignBranchJcc);
AlignBranchType.addKind(X86::AlignBranchJmp);
}
- // Allow overriding defaults set by master flag
+ // Allow overriding defaults set by main flag
if (X86AlignBranchBoundary.getNumOccurrences())
AlignBoundary = assumeAligned(X86AlignBranchBoundary);
if (X86AlignBranch.getNumOccurrences())
Index: clang/lib/Driver/ToolChains/Clang.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Clang.cpp
+++ clang/lib/Driver/ToolChains/Clang.cpp
@@ -403,7 +403,7 @@
}
/// Adds exception related arguments to the driver command arguments. There's a
-/// master flag, -fexceptions and also language specific flags to enable/disable
+/// main flag, -fexceptions and also language specific flags to enable/disable
/// C++ and Objective-C exceptions. This makes it possible to for example
/// disable C++ exceptions but enable Objective-C exceptions.
static bool addExceptionArgs(const ArgList &Args, types::ID InputType,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114090.387941.patch
Type: text/x-patch
Size: 1308 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211117/30edbd55/attachment.bin>
More information about the cfe-commits
mailing list