diff options
| -rw-r--r-- | clang/include/clang/Frontend/ASTUnit.h | 3 | ||||
| -rw-r--r-- | clang/lib/Format/Format.cpp | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/clang/include/clang/Frontend/ASTUnit.h b/clang/include/clang/Frontend/ASTUnit.h index 4971cac208d..3901e7d1479 100644 --- a/clang/include/clang/Frontend/ASTUnit.h +++ b/clang/include/clang/Frontend/ASTUnit.h @@ -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; diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp index b7b41c9741a..7eb7a2c9c88 100644 --- a/clang/lib/Format/Format.cpp +++ b/clang/lib/Format/Format.cpp @@ -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; |

