Fix and reword some typos

llvm-svn: 198191
This commit is contained in:
Alp Toker 2013-12-30 02:06:29 +00:00
parent ede9ce1933
commit ba5b4dc60c
2 changed files with 2 additions and 3 deletions

View File

@ -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;

View File

@ -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;