Fixed typo: NoneComment -> NonComment, no other changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185640 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Format/FormatToken.h b/lib/Format/FormatToken.h
index 8798f8f..9442555 100644
--- a/lib/Format/FormatToken.h
+++ b/lib/Format/FormatToken.h
@@ -248,7 +248,7 @@
}
/// \brief Returns the previous token ignoring comments.
- FormatToken *getPreviousNoneComment() const {
+ FormatToken *getPreviousNonComment() const {
FormatToken *Tok = Previous;
while (Tok != NULL && Tok->is(tok::comment))
Tok = Tok->Previous;
@@ -256,7 +256,7 @@
}
/// \brief Returns the next token ignoring comments.
- const FormatToken *getNextNoneComment() const {
+ const FormatToken *getNextNonComment() const {
const FormatToken *Tok = Next;
while (Tok != NULL && Tok->is(tok::comment))
Tok = Tok->Next;