r198191 - Fix and reword some typos
Alp Toker
alp at nuanti.com
Sun Dec 29 18:06:29 PST 2013
Author: alp
Date: Sun Dec 29 20:06:29 2013
New Revision: 198191
URL: http://llvm.org/viewvc/llvm-project?rev=198191&view=rev
Log:
Fix and reword some typos
Modified:
cfe/trunk/include/clang/Frontend/ASTUnit.h
cfe/trunk/lib/Format/Format.cpp
Modified: cfe/trunk/include/clang/Frontend/ASTUnit.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/ASTUnit.h?rev=198191&r1=198190&r2=198191&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/ASTUnit.h (original)
+++ cfe/trunk/include/clang/Frontend/ASTUnit.h Sun Dec 29 20:06:29 2013
@@ -206,8 +206,7 @@ public:
return Preamble;
}
- /// Data that allows us to tell if a file that was used in a preambule was
- /// changed.
+ /// Data used to determine if a file used in the preamble has been changed.
struct PreambleFileHash {
/// All files have size set.
off_t Size;
Modified: cfe/trunk/lib/Format/Format.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/Format.cpp?rev=198191&r1=198190&r2=198191&view=diff
==============================================================================
--- cfe/trunk/lib/Format/Format.cpp (original)
+++ cfe/trunk/lib/Format/Format.cpp Sun Dec 29 20:06:29 2013
@@ -511,7 +511,7 @@ public:
}
if (I[1]->First->Type == TT_FunctionLBrace &&
Style.BreakBeforeBraces != FormatStyle::BS_Attach) {
- // Check for Limit <= 2 to accomodate for the " {".
+ // Check for Limit <= 2 to account for the " {".
if (Limit <= 2 || (Style.ColumnLimit == 0 && containsMustBreak(TheLine)))
return 0;
Limit -= 2;
More information about the cfe-commits
mailing list