Skip to content

Commit 5f5d3a6

Browse files
committed
final diff reduction stragglers
1 parent 01983b4 commit 5f5d3a6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

clang/lib/Frontend/Rewrite/InclusionRewriter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,15 +475,15 @@ void InclusionRewriter::Process(FileID FileId,
475475
if (NextIdentifierName(RawLex, RawToken) == "system_header") {
476476
// keep the directive in, commented out
477477
CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL,
478-
NextToWrite, Line);
478+
NextToWrite, Line);
479479
// update our own type
480480
FileType = SM.getFileCharacteristic(RawToken.getLocation());
481481
WriteLineInfo(FileName, Line, FileType);
482482
}
483483
} else if (Identifier == "once") {
484484
// keep the directive in, commented out
485485
CommentOutDirective(RawLex, HashToken, FromFile, LocalEOL,
486-
NextToWrite, Line);
486+
NextToWrite, Line);
487487
WriteLineInfo(FileName, Line, FileType);
488488
}
489489
break;
@@ -535,7 +535,7 @@ void InclusionRewriter::Process(FileID FileId,
535535
OutputContentUpTo(FromFile, NextToWrite,
536536
SM.getFileOffset(RawToken.getLocation()) +
537537
RawToken.getLength(),
538-
LocalEOL, Line, /*EnsureNewline=*/true);
538+
LocalEOL, Line, /*EnsureNewline=*/ true);
539539
WriteLineInfo(FileName, Line, FileType);
540540
RawLex.SetKeepWhitespaceMode(false);
541541
break;

clang/lib/Parse/ParseExpr.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,9 +1064,9 @@ ExprResult Parser::ParseCastExpression(CastParseKind ParseKind,
10641064
isVectorLiteral, NotPrimaryExpression);
10651065

10661066
case tok::identifier:
1067-
ParseIdentifier: { // primary-expression: identifier
1068-
// unqualified-id: identifier
1069-
// constant: enumeration-constant
1067+
ParseIdentifier: { // primary-expression: identifier
1068+
// unqualified-id: identifier
1069+
// constant: enumeration-constant
10701070
// Turn a potentially qualified name into a annot_typename or
10711071
// annot_cxxscope if it would be valid. This handles things like x::y, etc.
10721072
if (getLangOpts().CPlusPlus) {

0 commit comments

Comments
 (0)