summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/FormatToken.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Format/FormatToken.h')
-rw-r--r--clang/lib/Format/FormatToken.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Format/FormatToken.h b/clang/lib/Format/FormatToken.h
index 8798f8fbe66..94425550b9e 100644
--- a/clang/lib/Format/FormatToken.h
+++ b/clang/lib/Format/FormatToken.h
@@ -248,7 +248,7 @@ struct FormatToken {
}
/// \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 @@ struct FormatToken {
}
/// \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;
OpenPOWER on IntegriCloud