diff options
| author | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-12-20 08:51:22 +0000 |
|---|---|---|
| committer | Logan Chien <tzuhsiang.chien@gmail.com> | 2014-12-20 08:51:22 +0000 |
| commit | 968a21de24d5deedaa2247ded2c665aa197f2927 (patch) | |
| tree | d96c58ccaea7a0c0bff20437b807811d0a5c4601 /clang/lib | |
| parent | d4449ed0f2eae9bd9fac3a1ad6722db70d916715 (diff) | |
| download | bcm5719-llvm-968a21de24d5deedaa2247ded2c665aa197f2927.tar.gz bcm5719-llvm-968a21de24d5deedaa2247ded2c665aa197f2927.zip | |
Frontend: Fix typo in comments.
llvm-svn: 224680
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Frontend/TextDiagnostic.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Frontend/TextDiagnostic.cpp b/clang/lib/Frontend/TextDiagnostic.cpp index 6e6f3dd1bfe..7b25da9b296 100644 --- a/clang/lib/Frontend/TextDiagnostic.cpp +++ b/clang/lib/Frontend/TextDiagnostic.cpp @@ -176,7 +176,7 @@ static void expandTabs(std::string &SourceLine, unsigned TabStop) { /// of the printable representation of the line to the columns those printable /// characters will appear at (numbering the first column as 0). /// -/// If a byte 'i' corresponds to muliple columns (e.g. the byte contains a tab +/// If a byte 'i' corresponds to multiple columns (e.g. the byte contains a tab /// character) then the array will map that byte to the first column the /// tab appears at and the next value in the map will have been incremented /// more than once. @@ -487,7 +487,7 @@ static void selectInterestingSourceRegion(std::string &SourceLine, // We checked up front that the line needed truncation assert(FrontColumnsRemoved+ColumnsKept+BackColumnsRemoved > Columns); - // The line needs some trunctiona, and we'd prefer to keep the front + // The line needs some truncation, and we'd prefer to keep the front // if possible, so remove the back if (BackColumnsRemoved > strlen(back_ellipse)) SourceLine.replace(SourceEnd, std::string::npos, back_ellipse); |

