Skip to content

Commit cf7d36f

Browse files
authored
[NFC] Fix misspellings of effects (#87795)
1 parent 221f438 commit cf7d36f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// was not consciously intended, and therefore it might have been unreachable.
3131
//
3232
// This checker uses eval::Call for modeling pure functions (functions without
33-
// side effets), for which their `Summary' is a precise model. This avoids
33+
// side effects), for which their `Summary' is a precise model. This avoids
3434
// unnecessary invalidation passes. Conflicts with other checkers are unlikely
3535
// because if the function has no other effects, other checkers would probably
3636
// never want to improve upon the modeling done by this checker.

llvm/lib/Transforms/Scalar/NewGVN.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4019,7 +4019,7 @@ bool NewGVN::eliminateInstructions(Function &F) {
40194019
// dominated defs as dead.
40204020
if (Def) {
40214021
// For anything in this case, what and how we value number
4022-
// guarantees that any side-effets that would have occurred (ie
4022+
// guarantees that any side-effects that would have occurred (ie
40234023
// throwing, etc) can be proven to either still occur (because it's
40244024
// dominated by something that has the same side-effects), or never
40254025
// occur. Otherwise, we would not have been able to prove it value

0 commit comments

Comments
 (0)