Skip to content

Commit 7b9786b

Browse files
authored
[NFC][TableGen] Capitalize comments in TGLexer.cpp (#152224)
1 parent 9e9bf7a commit 7b9786b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/TableGen/TGLexer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,15 +500,15 @@ bool TGLexer::LexInclude() {
500500
/// SkipBCPLComment - Skip over the comment by finding the next CR or LF.
501501
/// Or we may end up at the end of the buffer.
502502
void TGLexer::SkipBCPLComment() {
503-
++CurPtr; // skip the second slash.
503+
++CurPtr; // Skip the second slash.
504504
auto EOLPos = CurBuf.find_first_of("\r\n", CurPtr - CurBuf.data());
505505
CurPtr = (EOLPos == StringRef::npos) ? CurBuf.end() : CurBuf.data() + EOLPos;
506506
}
507507

508508
/// SkipCComment - This skips C-style /**/ comments. The only difference from C
509509
/// is that we allow nesting.
510510
bool TGLexer::SkipCComment() {
511-
++CurPtr; // skip the star.
511+
++CurPtr; // Skip the star.
512512
unsigned CommentDepth = 1;
513513

514514
while (true) {

0 commit comments

Comments
 (0)