summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-30 02:06:29 +0000
committerAlp Toker <alp@nuanti.com>2013-12-30 02:06:29 +0000
commitba5b4dc60c3763ab896ba35e33f2664e15e815c4 (patch)
tree9736a35005e11f4359a87baa03e1614835c28b49 /clang/lib
parentede9ce1933bb2c7ed3c4f82f32cd381bf4151a61 (diff)
downloadbcm5719-llvm-ba5b4dc60c3763ab896ba35e33f2664e15e815c4.tar.gz
bcm5719-llvm-ba5b4dc60c3763ab896ba35e33f2664e15e815c4.zip
Fix and reword some typos
llvm-svn: 198191
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
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;
OpenPOWER on IntegriCloud