Skip to content

Commit 2b50682

Browse files
authored
A couple of grammar fixes
1 parent 595a273 commit 2b50682

File tree

10 files changed

+11
-11
lines changed

10 files changed

+11
-11
lines changed

clang-tools-extra/clang-tidy/modernize/UseUsingCheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void UseUsingCheck::check(const MatchFinder::MatchResult &Result) {
151151
StringRef ExtraReference = "";
152152
if (MainTypeEndLoc.isValid() && TypeRange.fullyContains(MainTypeEndLoc)) {
153153
// Each type introduced in a typedef can specify being a reference or
154-
// pointer type seperately, so we need to sigure out if the new using-decl
154+
// pointer type separately, so we need to sigure out if the new using-decl
155155
// needs to be to a reference or pointer as well.
156156
const SourceLocation Tok = utils::lexer::findPreviousAnyTokenKind(
157157
MatchedDecl->getLocation(), SM, LO, tok::TokenKind::star,

clang/test/AST/HLSL/RootSignatures-AST.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void same_rs_string_main() {}
6161
"DescriptorTable(Sampler(s0, numDescriptors = 4, space = 1))"
6262

6363
// Ensure that when we define a different type root signature that it creates
64-
// a seperate decl and identifier to reference
64+
// a separate decl and identifier to reference
6565

6666
// CHECK: -HLSLRootSignatureDecl 0x{{.*}} {{.*}} implicit [[DIFF_RS_DECL:__hlsl_rootsig_decl_\d*]]
6767
// CHECK-SAME: RootElements{

clang/test/Modules/safe_buffers_optout.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ int textual(int *p) {
9696
// `safe_buffers_test_base`. (So the module dependencies form a DAG.)
9797

9898
// No expected warnings from base.h, test_sub1, or test_sub2 because they are
99-
// in seperate modules, and the explicit commands that builds them have no
99+
// in separate modules, and the explicit commands that builds them have no
100100
// `-Wunsafe-buffer-usage`.
101101

102102
int foo(int * p) {
@@ -122,7 +122,7 @@ int foo(int * p) {
122122
// `safe_buffers_test_base`. (So the module dependencies form a DAG.)
123123

124124
// No expected warnings from base.h, test_sub1, or test_sub2 because they are
125-
// in seperate modules, and the explicit commands that builds them have no
125+
// in separate modules, and the explicit commands that builds them have no
126126
// `-Wunsafe-buffer-usage`.
127127

128128
int foo(int * p) {

lldb/include/lldb/Target/CoreFileMemoryRanges.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class CoreFileMemoryRanges
5050
CoreFileMemoryRange> {
5151
public:
5252
/// Finalize and merge all overlapping ranges in this collection. Ranges
53-
/// will be seperated based on permissions.
53+
/// will be separated based on permissions.
5454
Status FinalizeCoreFileSaveRanges();
5555
};
5656
} // namespace lldb_private

llvm/include/llvm/Analysis/VectorUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ LLVM_ABI bool isTriviallyVectorizable(Intrinsic::ID ID);
144144
/// Note: There are intrinsics where implementing vectorization for the
145145
/// intrinsic is redundant, but we want to implement scalarization of the
146146
/// vector. To prevent the requirement that an intrinsic also implements
147-
/// vectorization we provide this seperate function.
147+
/// vectorization we provide this separate function.
148148
LLVM_ABI bool isTriviallyScalarizable(Intrinsic::ID ID,
149149
const TargetTransformInfo *TTI);
150150

llvm/lib/IR/DebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ class DebugTypeInfoRemoval {
808808

809809
return getReplacementMDNode(N);
810810
};
811-
// Seperate recursive doRemap and operator [] into 2 lines to avoid
811+
// Separate recursive doRemap and operator [] into 2 lines to avoid
812812
// out-of-order evaluations since both of them can access the same memory
813813
// location in map Replacements.
814814
auto Value = doRemap(N);

llvm/lib/Transforms/Utils/IRNormalizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ void IRNormalizer::reorderInstructions(Function &F) const {
427427
// Process the remaining instructions.
428428
//
429429
// TODO: Do more a intelligent sorting of these instructions. For example,
430-
// seperate between dead instructinos and instructions used in another
430+
// separate between dead instructinos and instructions used in another
431431
// block. Use properties of the CFG the order instructions that are used
432432
// in another block.
433433
if (Visited.contains(&I))

mlir/lib/Bindings/Python/IRAttributes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1125,7 +1125,7 @@ class PyDenseElementsAttribute
11251125
bulkLoadElementType = mlirF16TypeGet(context);
11261126
} else if (format == "?") {
11271127
// i1
1128-
// The i1 type needs to be bit-packed, so we will handle it seperately
1128+
// The i1 type needs to be bit-packed, so we will handle it separately
11291129
return getBitpackedAttributeFromBooleanBuffer(view, explicitShape,
11301130
context);
11311131
} else if (isSignedIntegerFormat(format)) {

mlir/test/Dialect/Vector/vector-reduce-to-contract.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: mlir-opt %s -test-vector-reduction-to-contract-patterns -split-input-file | FileCheck %s
22

3-
// TODO: Seperate tests for vector.multi_reduction -> vector.contract and
3+
// TODO: Separate tests for vector.multi_reduction -> vector.contract and
44
// * pre-op + vector.contract -> vector.contract,
55
// * vector.contract + post-op -> vector.contract.
66

mlir/tools/mlir-tblgen/EnumsGen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ inline ::llvm::raw_ostream &operator<<(::llvm::raw_ostream &p, {0} value) {{
222222
llvm::StringSwitch<StringRef>(separator.trim())
223223
.Case("|", "parseOptionalVerticalBar")
224224
.Case(",", "parseOptionalComma")
225-
.Default("error, enum seperator must be '|' or ','");
225+
.Default("error, enum separator must be '|' or ','");
226226
os << formatv(parsedAndPrinterStartUnquotedBitEnum, qualName, cppNamespace,
227227
enumInfo.getSummary(), casesList, separator,
228228
parseSeparatorFn);

0 commit comments

Comments
 (0)