diff --git a/llvm/lib/Transforms/Utils/MisExpect.cpp b/llvm/lib/Transforms/Utils/MisExpect.cpp --- a/llvm/lib/Transforms/Utils/MisExpect.cpp +++ b/llvm/lib/Transforms/Utils/MisExpect.cpp @@ -74,7 +74,7 @@ // TODO: Find a way to resolve condition location for switches // Using the condition of the switch seems to often resolve to an earlier // point in the program, i.e. the calculation of the switch condition, rather - // than the switches location in the source code. Thus, we should use the + // than the switch's location in the source code. Thus, we should use the // instruction to get source code locations rather than the condition to // improve diagnostic output, such as the caret. If the same problem exists // for branch instructions, then we should remove this function and directly