Skip to content

Commit 783eca9

Browse files
committed
Fix typos in some test comments
1 parent 85c4e42 commit 783eca9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clang/test/DebugInfo/Generic/ubsan-trap-reason-add-overflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ unsigned add_overflow(unsigned c, unsigned d) { return c + d; }
2424
// DETAILED: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2525
// DETAILED: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$unsigned integer addition overflow in 'c + d'"
2626

27-
// In "Basic" mode both the trap reason is shared by both functions.
27+
// In "Basic" mode the trap reason is shared by both functions.
2828
// BASIC: [[SLOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2929
// BASIC: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$Integer addition overflowed"
3030
// BASIC: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})

clang/test/DebugInfo/Generic/ubsan-trap-reason-mul-overflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ unsigned mul_overflow(unsigned c, unsigned d) { return c * d; }
2424
// DETAILED: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2525
// DETAILED: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$unsigned integer multiplication overflow in 'c * d'"
2626

27-
// In "Basic" mode both the trap reason is shared by both functions.
27+
// In "Basic" mode the trap reason is shared by both functions.
2828
// BASIC: [[SLOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2929
// BASIC: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$Integer multiplication overflowed"
3030
// BASIC: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})

clang/test/DebugInfo/Generic/ubsan-trap-reason-sub-overflow.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ unsigned sub_overflow(unsigned c, unsigned d) { return c - d; }
2424
// DETAILED: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2525
// DETAILED: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$unsigned integer subtraction overflow in 'c - d'"
2626

27-
// In "Basic" mode both the trap reason is shared by both functions.
27+
// In "Basic" mode the trap reason is shared by both functions.
2828
// BASIC: [[SLOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})
2929
// BASIC: [[MSG]] = distinct !DISubprogram(name: "__clang_trap_msg$Undefined Behavior Sanitizer$Integer subtraction overflowed"
3030
// BASIC: [[LOC]] = !DILocation(line: 0, scope: [[MSG:![0-9]+]], {{.+}})

0 commit comments

Comments
 (0)