summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
committerAlp Toker <alp@nuanti.com>2013-12-05 16:25:25 +0000
commitf6a24ce40fd5e807a5e71b17d0c04866e195fb87 (patch)
tree7cef755bd0df91b4b4b1267fb92e52a8a7953ded /clang/unittests/Format/FormatTest.cpp
parent4cc2b87375e4d7a9ffdd93434033b742074ed078 (diff)
downloadbcm5719-llvm-f6a24ce40fd5e807a5e71b17d0c04866e195fb87.tar.gz
bcm5719-llvm-f6a24ce40fd5e807a5e71b17d0c04866e195fb87.zip
Fix a tranche of comment, test and doc typos
llvm-svn: 196510
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r--clang/unittests/Format/FormatTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index b7b6b832f42..575644efc59 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -1731,7 +1731,7 @@ TEST_F(FormatTest, FormatsNamespaces) {
// This code is more common than we thought; if we
// layout this correctly the semicolon will go into
- // its own line, which is undesireable.
+ // its own line, which is undesirable.
verifyFormat("namespace {};");
verifyFormat("namespace {\n"
"class A {};\n"
@@ -2832,7 +2832,7 @@ TEST_F(FormatTest, ConstructorInitializers) {
" aaaaaaaaaaaaaaaaaaaaaaaaa(aaaa, aaaa)) {}");
// Here a line could be saved by splitting the second initializer onto two
- // lines, but that is not desireable.
+ // lines, but that is not desirable.
verifyFormat("Constructor()\n"
" : aaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaa),\n"
" aaaaaaaaaaa(aaaaaaaaaaa),\n"
OpenPOWER on IntegriCloud