r224680 - Frontend: Fix typo in comments.

Logan Chien tzuhsiang.chien at gmail.com
Sat Dec 20 00:51:23 PST 2014


Author: logan
Date: Sat Dec 20 02:51:22 2014
New Revision: 224680

URL: http://llvm.org/viewvc/llvm-project?rev=224680&view=rev
Log:
Frontend: Fix typo in comments.

Modified:
    cfe/trunk/lib/Frontend/TextDiagnostic.cpp

Modified: cfe/trunk/lib/Frontend/TextDiagnostic.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/TextDiagnostic.cpp?rev=224680&r1=224679&r2=224680&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/TextDiagnostic.cpp (original)
+++ cfe/trunk/lib/Frontend/TextDiagnostic.cpp Sat Dec 20 02:51:22 2014
@@ -176,7 +176,7 @@ static void expandTabs(std::string &Sour
 ///  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 selectInterestingSourceRegio
   // 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);





More information about the cfe-commits mailing list